Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Orion » Bind to a specific IP address(How to bind embedded Jetty server to a specific IP address?)
Bind to a specific IP address [message #775400] Thu, 05 January 2012 22:44 Go to next message
Alex Boone is currently offline Alex Boone
Messages: 3
Registered: January 2012
Junior Member
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.
Re: Bind to a specific IP address [message #775810 is a reply to message #775400] Fri, 06 January 2012 18:00 Go to previous messageGo to next message
Ken Walker is currently offline Ken Walker
Messages: 12
Registered: July 2009
Junior Member
I see there was some IRC activity about this issue. If you enter a bug could you post the link here or if not I'll do it when I see it go by.
Re: Bind to a specific IP address [message #775885 is a reply to message #775810] Fri, 06 January 2012 21:37 Go to previous messageGo to next message
Alex Boone is currently offline Alex Boone
Messages: 3
Registered: January 2012
Junior Member
I have created a bug report, but it won't let me post a link to it (haven't posted enough messages yet).

The bug ID is 368061.
Re: Bind to a specific IP address [message #780417 is a reply to message #775885] Tue, 17 January 2012 18:53 Go to previous messageGo to next message
Alex Boone is currently offline Alex Boone
Messages: 3
Registered: January 2012
Junior Member
It appears that the ConfiguratorActivator class does not support this property currently. I've added a suggested patch to the Bugzilla record that I created.
Re: Bind to a specific IP address [message #789078 is a reply to message #775400] Thu, 02 February 2012 15:25 Go to previous message
John Arthorne is currently offline John Arthorne
Messages: 174
Registered: July 2009
Senior Member
Just to complete the thread, this bug was fixed in Orion 0.4 M2.
Previous Topic:Problem Loading Workspaces
Next Topic:Editor problem with FF10.0.2
Goto Forum:
  


Current Time: Sat Oct 25 19:47:27 GMT 2014

Powered by FUDForum. Page generated in 0.09408 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software