SSH -L connection successful, but localhost port forwarding not working “channel 3: open failed: connect failed: Connection refused”

When you connect to port 8783 on your local system, that connection is tunneled through your ssh link to the ssh server on server.com. From there, the ssh server makes TCP connection to localhost port 8783 and relays data between the tunneled connection and the connection to target of the tunnel. The “connection refused” error … Read more