tair.dev
← Blog

Expose localhost to the world with serveo.net

· #tooling#networking#ssh

Sometimes you have a service running on localhost and you need to expose it to the world right now for some quick experiment. Google turned up a few tools, and the one I picked was serveo.net.

It’s free, and the nice part is that the client is just plain old ssh:

ssh -R 80:localhost:3000 serveo.net

That’s all it takes to put your PoC online.

You can also use the service to:

  • use it as an SSH jump host to your own machine,
  • forward any TCP protocol,
  • pair it with autossh to automatically re-establish a dropped connection.

It even provides a console GUI for managing the connection. The author compares it to ngrok and OpenSSH, and offers a free on-premise option with some limitations (presumably that’s where the monetization is, since the SaaS version is free).


Originally posted on my Telegram channel Ламповый ТехДир.