Forum Moderators: phranque
Tomcat is configured to listen on x.x.x.193:80 and IIS is configured to listen on x.x.x.192:80. Both have host names assigned as well as IP and port.
Both services start without error but any traffic to either address is grabbed by IIS.
If I shut down IIS, requests to x.x.x.193 go to Tomcat as expected and requests to x.x.x.192 fail. This plus the lack of any startup errors says to me that the Tomcat configuration is correct.
If I restart IIS, it again grabs all requests.
Any ideas?
Cheers and thanks,
Stephen Davies
Tomcat usually runs on 8080 or 8000. If you want to run Tomcat on 80 you need to disable IIS.
There is a way, however to run J2EE stuff on Port 80, but it involves messing with the registry. I used to run Tomcat through IIS, with multiple IPs, but it was a chore. I have the zip file with instructions and jar files somewhere if you want it.
Tomcat runs perfectly well on any port. The only requirement is that there are no clashes.
The same applies to IIS.
I see no need to play with the registry. All IP and port specifications can be set as normal configuration options.
I want both to use port 80 because that removes the need for users to nominate a port.
My real issue is that IIS seems to be ignoring the IP specification and is still listening on all interfaces despite being told to only listen on one.