$ /devops

Connect localhost to the internet

published · 1 minute read · localhost port
Connect localhost to the internet

Discover multiple ways of connecting your webservice localhost to the internet. Just drop an eye here: simple, clean, fast solutions only.

1. Localtunnel

Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings.

How to run localtunnel

npm install -g localtunnel
lt --port 8000

2. Localhost.run

Connect a tunnel to your web appplication

How to run localhost.run

$ ssh -R 80:localhost:8000 [email protected]

3. Ngrok

Public URLs for exposing your local webservice.

How to run ngrok

Go and download ngrok then:

ngrok http 8000