Serving Localhost to the Web with Reverse Ssh Tunnels

2 minute read Published:

So, you have a webpage on your computer you want to show to a remote person?
Note: If you don’t have a server already, check my last tip. This topic is always a little tricky, so, here’s the basic thing to know, as this is the most frequent use case. Suppose you have a development rails server running on your local computer. You can access this server via curl http://localhost:3000. Which is to say, it’s running on your localhost, on port 3000. You want your client to see it, to give you feedback, but they’re nowhere near you, and you just want a quick way to show it to them.