SSH Port Forwarding

Written by Yujin Boby

Edit in WordPress

On a remote server, we have an application running on 127.0.0.1:8010. Since the application is listening on internal IP address 127.0.0.1, we can’t access it remotely. To access this application, we can use SSH port forwarding.

ssh -L 8010:127.0.0.1:8010 root@lab.serverok.in -p 3333

In above example, application running on server lab.serverok.in is available on my local computer at

http://127.0.0.1:8010