Tomcat cannot connect to localhost
Posted on 2011-09-08
During the service restart I get the following error:
java.net.ConnectException: Connection timed out
Seems that Tomcat cannot connect to localhost.
Indeed, when I execute
# telnet localhost
telnet: connect to address xx.xx.xx.xx: Connection timed out
telnet: Unable to connect to remote host: Connection timed out
xx.xx.xx.xx - some IP I use on the server, not the main one - and not 127.0.0.1(!)
127.0.0.1 localhost.localdomain localhost
Any ideas will be appreciated.