Last Updated: February 25, 2016
· ninjascribble

Map an temporary external URI to a local port with ngrok

Want to test how your application works with services in the outside world, but not quite ready to put it onto an outside server?

ngrok allows you to create temporary external URIs and map them to locally-hosted applications.

ngrok is a long-running process. ctrl+c to shutdown and end your connection to the outside world.

# On OS X
$ brew install ngrok
$ ngrok 8080


Tunnel Status                 online
Version                       1.7/1.7
Forwarding           ->
Forwarding           ->
Web Interface       
# Conn                        2
Avg Conn Time                 11.21ms

HTTP Requests
GET /v1/health                200 OK