[英]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.