Bug 44017 - if an inesting host is mentioned in server.xml, warn!
Summary: if an inesting host is mentioned in server.xml, warn!
Status: RESOLVED WONTFIX
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.14
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 00:49 UTC by Jan Bielik
Modified: 2009-07-08 02:21 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bielik 2007-12-04 00:49:52 UTC
and do not just silently use localhost:

I had put a wrong LAN IP 192.168.1.39 in the server.xml's
<Host name="192.168.1.39"
element.

Tomcat did start, but unsurprisingly, my browser couldn't connect to it.

Please add a warning to the console (catalina.out) output!
Only by coincidence I noticed that the server was listening on localhost
Comment 1 Mark Thomas 2007-12-23 15:46:16 UTC
You are confusing the address attribute of the connector and the name attribute
of the host.

I don't see what can easily be done to detect this sort of configuration error.
If you have a suggestion for a code change feel free to re-open this report and
provide a patch.
Comment 2 Ralf Hauser 2009-07-08 02:21:16 UTC
see also bug 47495