Hacker News new | ask | show | jobs
by dedward 5542 days ago
In the simplest case, something like:

ssh -R8000:127.0.0.1:80 my.vps.com

This will forward all connections to http://my.vps.com:8000/ to port 80 on your local machine.

Adjust ports as necessary.

Then you also have the VPS where you can actually host a copy of your app - but that's off-topic.