• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Mango and Jetty problem

    User help
    2
    4
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      plato
      last edited by

      Hi,

      I would like to run Mango on cloude server but i got this error durring initialization:
      SelectChannelConnector@0.0.0.0:8080 FAILED: java.net.SocketException: Permission denied.

      Embedded Jetty tries to open socket at 0.0.0.0, which is prohibited by Openshift server - you can only open ports at $OPENSHIFT_INTERNAL_IP.

      My question is : how to set jetty.host to $OPENSHIFT_INTERNAL_IP ( any xml ? ) ?

      Is compilation from source necessary ?

      Thanks in advance

      Przemek

      1 Reply Last reply Reply Quote 0
      • terrypackerT
        terrypacker
        last edited by

        plato,

        This is currently only done by modifying the source in one of our private libraries. I have just made some changes to the code that will allow changing the host interface that Mango will bind to. This release should be available by next week.

        Currently Mango will bind to 0.0.0.0 (all interfaces). The change I have made will allow binding to any ip address via a new property in the env.properties file called 'host'. Am I correct in assuming this will fix your issue?

        1 Reply Last reply Reply Quote 0
        • P
          plato
          last edited by

          Yes - this should help.
          Will let you know.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post