I'm tring to change tomcat's port from 8080 to 80. Until now, I'd a IIS running in port 80, without any problems. When I try to use 80 in 'conector' for Tomcat, the following error occours:
java.net.BindException: Address already in use: JVM_Bind '<'null'>':80 <!-- catalina's log
But IIS is disabled, and NETSTAT shows some connections with status TIME_WAIT for port 80. I'm a bit confused. How can IIS use port 80 and Tomcat doesn't? Should I configure another property?
Thanks!
(in time: tomcat 6 over win 2008 server)
Tomcat is saying someone else is using port 80. netstat -ao
will tell you which PID that is (look for local listeners, I am guessing most of those TIME_WAIT's are just browser hangovers), and Task Manager will let you work out which process that PID is.