1
I just want to educate myself on an interesting issue here. When I curl a URL I get this error
curl "http://myserver:8888/payload"
curl: (7) couldn't connect to host
However when I setup a tunnel and curl via that tunnel it works. Tunnel command:
ssh -f myserver -L 8888:myserver:8888 -N
Curl works now:
curl "localhost:8888/payload"
Hi thr!
Is it the way things are setup by server admin or something else?
I posted this question on SO first but got kicked out from there :( https://stackoverflow.com/questions/21198847/accessing-a-remote-machine-with-or-without-ssh-tunneling