连接在端口上超时

时间:2015-05-13 11:30:44

标签: java tomcat system httpurlconnection

我有一个在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.

0 个答案:

没有答案