It works because your HTTP request to port 8080 isn't handled by IIS, it goes straight to Tomcat.
ramskuwait
Anything wrong in my configurations?
Not as far as I can see. You've already said that if you use the DNS name it works, so I'm not sure what the problem is. If you do want to browse to the IP address then you need to modify your IIS web site so that it listens on the IP address as well as
the host header name.
Paul Lynch
1589 Posts
Re: New Web site on IIS6.0 with Tomcat6.0 Problem
Jun 09, 2009 03:06 PM|LINK
That's because the web site isn't configured to listen on the IP address with no host header value specified as I mentioned previously.
This shows that everything is working as it should. You've answered your own question here really.
It works because your HTTP request to port 8080 isn't handled by IIS, it goes straight to Tomcat.
Not as far as I can see. You've already said that if you use the DNS name it works, so I'm not sure what the problem is. If you do want to browse to the IP address then you need to modify your IIS web site so that it listens on the IP address as well as the host header name.
Regards,
MCSE