Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Ngrok

Intro to Ngrok

Short talk for RESTFest in Edinburgh

Lorna Mitchell

July 15, 2016
Tweet

More Decks by Lorna Mitchell

Other Decks in Technology

Transcript

  1. Overview • install and run locally • opens a tunnel

    to your machine • useful for development, debugging • web interface for inspect/replay @lornajane
  2. Check Out The Dashboard It's usually at http://localhost:4040 • inspect

    requests and responses • replay requests @lornajane
  3. ngrok On Your Virtual Machines For dev platforms, just run

    the tool on the VM Use the --host-header command line argument to change the host header to what your app expects @lornajane
  4. ngrok On Your Virtual Machines By default the dashboard binds

    to 127.0.0.1, fix that by using a config file for ngrok (~/.ngrok2/ngrok.yml). web_addr: 0.0.0.0:4040 tunnels: api: proto: http addr: 80 host_header: "api.dev.joind.in" @lornajane