I'm stuck. I don't know why the port tunnel doesn't work on Windows with PuTTY.

I have established ssh connection with the following port forwarding: 8000:localhost:80. On the remote host i have got UI interface exposed on port 80. Everything was working fine to the some moment. Currently the tunnel is established (ssh session works too) but i cannot see the UI. The request for localhost:8000 is pending all the time.

Everything works on Linux fine (with ssh -L 8000:localhost:80). Disable of windows firewall seems doesn't work. If you have any ideas please share. Thank you.


Pending request: https://prnt.sc/fbycpd

Putty port tunnel config: https://prnt.sc/fbyda3 (Fake IP)

  • Have no reputation to post screens : ( – Milso May 25 '17 at 5:50
  • try to connect to to see if that makes a difference. Maybe the resolver does not resolve localhost properly? – Sander May 25 '17 at 8:27
  • If you add links to the screenshots, someone with rep will likely embed them for you. – Julian Knight May 25 '17 at 12:23

Your screenshot doesn't match the information in your post. You say that you have configured the server's localhost as the tunnel's destination, but your PuTTY screenshot lists Whether it's literally that address or some other global address – even if it's the server's own address – it's still not the same thing as localhost.

It is possible for a program to only listen for connections on a specific local address – so in your case it's very likely that the app on your server is listening on loopback addresses only.

  • It was fake IP. Excuse me – Milso May 25 '17 at 14:23
  • Doesn't matter much if it's fake; the point is it's different from the localhost IP. (And if you actually decided to replace "localhost" with a fake IP, then ....) – grawity May 25 '17 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.