I'm working with a Tomcat 7 server running on Ubuntu. 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
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.
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. 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.
These are the settings for my Eclipse debugger:
And the error message in Eclipse:
Any ideas?
After a little more digging, it turns out that AWS was blocking the port.
For anyone reading this, you can check to see if the port is being blocked through: yougetsingal's port forward checking tool.