我有一个在Apache Tomcat上运行的应用程序,当我尝试telnet到该端口时,我收到connection timed out
错误。这是server.xml
配置:
<Service name="Catalina">
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector port="8868" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" enableLookups="true" redirectPort="8804" acceptCount="100" debug="0" connectionTimeout="60000" disableUploadTimeout="true"/>
当我netstat -tupln
时,它显示端口正在侦听:
netstat -tulpn | grep :8868
tcp 0 0 0.0.0.0:8868 0.0.0.0:* LISTEN 15629/java
我可以ping IP地址,但是当我对端口进行telnet时,我的连接超时了。我不认为这是防火墙问题,因为我运行了service iptables status
并获得了
iptables: Firewall is not running.
与service ip6tables status
相同的事情
ip6tables: Firewall is not running.