ssh tunnel error : channel 3: open failed: connect failed: Connection refused
- by soroosh.strife
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.