have two machines -windows and linux present locally. I am trying to run remote debugging (using eclipse) on windows machine to a tomcat application on linux box(fedora). I have enabled a debugging port 8800 on linux box and the startup log says “listening for transport dta_socket at 8800” Now when I try to connect my eclipse to it, I get “Failed to connect to remote VM. Connection refused.”
Here is the port description on linux
lsof -i:8800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 21930 root 4u IPv4 59436 0t0 TCP *:sunwebadmin (LISTEN)
netstat -tulpn
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8800 0.0.0.0:* LISTEN 21930/java
when i hit the url http://{linux-ip}:8800 from either machine, Tomcat logs says Debugger failed to attach : Handshake failed
Obviously the port is not accessible hence the debugger is not able to connect. Please suggest, what steps to follow. Any pointers would be helpful too.