0 Members and 1 Guest are viewing this topic.
Expose a local web server to the internetngrok lets you expose a locally running web service to the internet. Just tell ngrok which port your web server is running on. Let's try opening port 80 to the internet.Example: Open port 80 on your local machine to the internet$ ngrok 80ngrokTunnel Status onlineVersion 1.3/1.3Forwarding http://3a4bfceb.ngrok.com -> 127.0.0.1:80Forwarding https://3a4bfceb.ngrok.com -> 127.0.0.1:80Web Interface http://127.0.0.1:4040# Conn 0Avg Conn Time 0.00msWhen you run ngrok, it will display a UI in your terminal with the current status of the tunnel. This includes the public URL it has allocated to you which will forward to your local web service: https://3a4bfceb.ngrok.com.