SourceForge.net
2003-06-16 15:44:44 UTC
Bugs item #750870, was opened at 2003-06-08 06:27
Message generated for change (Comment added) made by lgas
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=750870&group_id=54559
Category: server
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Evans (lgas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot bind to a specific interface
Initial Comment:
I would like to be able to bind to specific interfaces,
specifically 127.0.0.1, however it appears that this is
not possible. I looked briefly for where to make the
changes and the only place I can find where a
ServerSocket is even used is in the apache JNDI stuff.
If someone can point me in the right direction to get me
started I'll gladly make the changes and submit a patch.
----------------------------------------------------------------------
Message:
Logged In: YES
user_id=137603
When I leave the host attribute of the ServerConfiguration
parameter set to "localhost" (as it is by default) or set it
explicitly to "127.0.0.1" as you tanderson suggested, the
server binds to all interfaces on the machine (0.0.0.0) and
not just 127.0.0.1.
I would like to be able to bind to JUST 127.0.0.1 (or the
address of any other specific interface, instead of 0.0.0.0
which is the address that maps to all interfaces).
Again, I'd be happy to make the changes but I have not yet
found the place in the code where the binding is done, so any
guidance would be helpful.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2003-06-08 09:17
Message:
Logged In: YES
user_id=557161
I'm not exactly sure what you're trying to do, but you should
be able to configure the server for 127.0.0.1. E.g,
in openjms.xml:
<ServerConfiguration host="127.0.0.1"/>
As for the JNDI code - the part you're referring to isn't used
by OpenJMS.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=750870&group_id=54559
Message generated for change (Comment added) made by lgas
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=750870&group_id=54559
Category: server
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Evans (lgas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot bind to a specific interface
Initial Comment:
I would like to be able to bind to specific interfaces,
specifically 127.0.0.1, however it appears that this is
not possible. I looked briefly for where to make the
changes and the only place I can find where a
ServerSocket is even used is in the apache JNDI stuff.
If someone can point me in the right direction to get me
started I'll gladly make the changes and submit a patch.
----------------------------------------------------------------------
Comment By: John Evans (lgas)
Date: 2003-06-16 11:44Message:
Logged In: YES
user_id=137603
When I leave the host attribute of the ServerConfiguration
parameter set to "localhost" (as it is by default) or set it
explicitly to "127.0.0.1" as you tanderson suggested, the
server binds to all interfaces on the machine (0.0.0.0) and
not just 127.0.0.1.
I would like to be able to bind to JUST 127.0.0.1 (or the
address of any other specific interface, instead of 0.0.0.0
which is the address that maps to all interfaces).
Again, I'd be happy to make the changes but I have not yet
found the place in the code where the binding is done, so any
guidance would be helpful.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2003-06-08 09:17
Message:
Logged In: YES
user_id=557161
I'm not exactly sure what you're trying to do, but you should
be able to configure the server for 127.0.0.1. E.g,
in openjms.xml:
<ServerConfiguration host="127.0.0.1"/>
As for the JNDI code - the part you're referring to isn't used
by OpenJMS.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=750870&group_id=54559