This video teaches how you can access your localhost anywhere with a custom public URL (using localtunnel npm package).
Localtunnel uses ssh tunnelling to securely let you access your localhost from a public URL. This is very helpful for -
quickly sharing WIP projects with clients
test API webhooks or apps on phones
direct file sharing between two computers
Localtunnel (github.com/loc...) is similar to Ngrok but has better free-tier features like custom sub-domains so I recommend this over the other.
installation commands
-----------------------------------
1. `npm install -g localtunnel`
2. `lt --port port_number --subdomain subdomain_name`
#shorts #ngrok #localhost
Негізгі бет Access localhost anywhere with localtunnel
Пікірлер: 66