ssh tunnel error : channel 3: open failed: connect failed: Connection refused

Posted by soroosh.strife on Super User See other posts from Super User or by soroosh.strife
Published on 2013-08-01T17:08:23Z Indexed on 2013/11/02 3:59 UTC
Read the original article Hit count: 1773

Filed under:
|
|
|

I'm trying to access and browse internet through a ssh server so in my laptop (ubuntu 12.04) I do this:

ssh -D 9999 root@server-ip

then in the network proxy in my laptop I set:

HTTP proxy 127.0.0.1      port 9999

but when I try to open a page in my browser it doesn't connect and in my terminal I get errors like these :

channel 4: open failed: connect failed: Connection refused
channel 3: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused
channel 4: open failed: connect failed: Connection refused
channel 6: open failed: connect failed: Connection refused

I'm new to this and found this method on the internet so I'm don't know what I'm doing wrong. I'd really appreciate it if anyone can help me make this work.

© Super User or respective owner

Related posts about ubuntu

Related posts about ssh