[ mx4j-Bugs-1200779 ] JettyWebContainer shouldn't listen on localhost
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1200779, was opened at 2005-05-12 17:55
Message generated for change (Comment added) made by simonebordet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1200779&group_id=47745
>Category: MX4J Tools
>Group: Release 3.0.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Morgan Hankins (morganhankins)
>Assigned to: Simone Bordet (simonebordet)
Summary: JettyWebContainer shouldn't listen on localhost
Initial Comment:
JettyWebContainer.configureListener only uses the
url's port when listening. It should use the url's host
as well.
The last line if configureListener reads:
>> getServer().addListener(":" + url.getPort());
it should read:
>> getServer().addListener(url.getHost() + ":" +
url.getPort());
This bug prevents starting two servers on the same machine
with different hosts but the same port.
-m
----------------------------------------------------------------------
>Comment By: Simone Bordet (simonebordet)
Date: 2005-05-15 23:12
Message:
Logged In: YES
user_id=1170988
Fixed as requested. This enhancement should allow to start
more HTTP-based connector servers on the same port but on
different IP addresses on a multi-homed physical host.
I cannot test this (don't have a multi-homed host), but the
fix is simple enough. Please confirm that the fix works for you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1200779&group_id=47745
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click