[ 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 08:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1200779&group_id=47745
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Morgan Hankins (morganhankins)
Assigned to: Nobody/Anonymous (nobody)
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
----------------------------------------------------------------------
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