简体   繁体   English

Tomcat 7服务器说它正在侦听调试端口,但不接受任何连接

[英]Tomcat 7 server says it's listening on debug port but doesn't accept any connections

I'm working with a Tomcat 7 server running on Ubuntu. 我正在使用在Ubuntu上运行的Tomcat 7服务器。 I've configured the etc/default/tomcat7 file to accept remote debugging requests through the instruction in this thread: Setting up JPDA for Tomcat7 in ubuntu-server 我已经配置了etc / default / tomcat7文件以通过以下线程中的指令接受远程调试请求: 在ubuntu-server中为Tomcat7设置JPDA

When the server restarts, in the catalina log file, it says that it's listening on port 8000, but I can't connect to it. 服务器重新启动时,在catalina日志文件中,它表示它正在侦听端口8000,但无法连接到该端口。

INFO: Destroying ProtocolHandler ["http-bio-8080"]
Listening for transport dt_socket at address: 8000

I've tried connecting to it through Window's Telnet tool as well as through the Eclipse debugger but the connection is always rejected. 我尝试通过Window的Telnet工具以及Eclipse调试器连接到它,但是连接总是被拒绝。 I also had all 4 of my teammates try connecting to it as well, to rule out issues with my own firewall, but they were unsuccessful as well. 我还让所有4个队友也尝试连接到它,以排除我自己的防火墙出现的问题,但它们也都没有成功。

These are the settings for my Eclipse debugger: 这些是我的Eclipse调试器的设置:

在此处输入图片说明

And the error message in Eclipse: 以及Eclipse中的错误消息:

在此处输入图片说明

Any ideas? 有任何想法吗?

After a little more digging, it turns out that AWS was blocking the port. 经过进一步的挖掘后,事实证明AWS阻塞了该端口。

For anyone reading this, you can check to see if the port is being blocked through: yougetsingal's port forward checking tool . 对于任何阅读此书的人,您可以通过以下方法检查端口是否被阻塞: yougetsingal的端口转发检查工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Tomcat启动,但未在任何端口上监听 - tomcat starts but its not listening on any port 首次连接后,Netty服务器不接受连接 - Netty server doesn't accept connections after first connect tomcat websocket servlet监听端口 - tomcat websocket servlet listening port HTTP 代理在浏览器中正常工作,但不允许连接到除 Java 中的 443 以外的任何端口 - HTTP Proxy working normally in browser but doesn't allow connections to any port except 443 in Java 无法在Tomcat中查看服务器状态,管理器应用程序页面:不接受用户名和密码,为什么会这样? - Unable to view Server Status,Manager App page in Tomcat : Doesn't accept the username and password,why is it so? tomcat服务器的端口号没有变化 - tomcat server's port number not changing Tomcat的接受计数 - Tomcat's accept count 在 tomcat 中设置 max-threads = 0 不应该接受来自用户的任何进一步请求,但它正在接受。 为什么? - Setting max-threads = 0 in tomcat shouldn't accept any further request from user but it's accepting. why? maven:无法覆盖 tomcat 服务器的 server.port - maven: can't override server.port for tomcat server 尽管启用了防火墙,Tomcat仍可与端口:443配合使用,而与端口:80无关: - Tomcat works with port :443 and doesn't with :80 despite of enabling firewall
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM