channel 3: open failed: connect failed: Connection refused
Rather than relying on SOCKS proxying, use
ssh -L4111:localhost:4111 server
To establish a direct connection across the ssh tunnel.
alwaysAStudent
Updated on June 30, 2022Comments
-
alwaysAStudent almost 2 years
I am trying to debug a remote application. I have initiated a SOCKS proxy on server: ssh -D 9999 hostname
I then try to connect to it from my eclipse debug setting where hostname is the same and port=9999.
However I get error:
channel 3: open failed: connect failed: Connection refused
I have also update eclipse network connections to allow SOCKS proxy. The configuration works on a different host name in the same network.
I am not able to interpret this error message. Can someone please assist where I am going wrong? I looked at this: SSH -L connection successful, but localhost port forwarding not working "channel 3: open failed: connect failed: Connection refused" but did find it useful in my case.
I have initiated my process on remote server in debug mode listening a specific port 4111 I confirmed that debug port is open by
netstat -a
commandThank-you