Bind to a specific IP address [message #775400] |
Thu, 05 January 2012 17:44  |
Eclipse User |
|
|
|
I am trying to run Orion with the embedded jetty server binding to a specific port. I have added the following line to my orion.ini file (A.B.C.D replaced with an actual, reachable IP address, eg 127.0.5.2):
-Dorg.eclipse.equinox.http.jetty.http.host=A.B.C.D
Regardless of this property being set, it seems jetty always binds to 0.0.0.0, meaning the application is available over all network interfaces.
My requirements dictate that we must run the Orion server listening to only a specific IP address. Is this possible? Browsing through the source code would seem to indicate this property is honored but it does not appear to be making a difference. I am able to change the bound port readily via flags in the same file (-Dorg.eclipse.equinox.http.jetty.http.port=8081).
Thanks in advance for any advice.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26264 seconds