Tomcat Not Starting Through Eclipse (Timeout)

后端 未结 27 2475
终归单人心
终归单人心 2020-12-01 06:41

I am trying to run Tomcat through Eclipse. This is something that I have done for the past several years. It was working yesterday and now it is not. The error I get is

27条回答
  •  温柔的废话
    2020-12-01 07:06

    Make sure Tomcat is actually listening to 127.0.0.1 when host name is set to localhost.

    When starting the Tomcat server in Eclipse the log displays something like:

    10:07:23 INFO  main o.a.c.h.Http11NioProtocol Initializing ProtocolHandler ["http-nio-192.168.2.63-8080"]
    

    Your Tomcat server configuration "Host name" and HTTP/1.1 Port MUST resolve to the displayed IP address & HTTP port (in the given example IP 192.168.2.63 Port 8080)

    This fixed it with Eclipse 4.5 (Mars) & Tomcat 8

提交回复
热议问题