It is necessary to share my localhost web application with the world in order for it to be accessed from other devices and individuals.
- December 29, 2022
Expose your local development web service to the world with Localtunnel!
No need to fuss with DNS and firewall settings
npm install -g localtunnel
Start a webserver on some local port (eg http://localhost:8000) and use the command line interface to request a tunnel to your local server:
lt --port 8000
As long as your local instance of lt remains active, you will be given a unique URL, such as https://flkajsfljas.loca.lt, which can be shared with anyone. All requests made to this URL will be directed to your local service at the specified port.