> For the complete documentation index, see [llms.txt](https://wiki.robmurtagh.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.robmurtagh.com/terminal/ngrok.md).

# ngrok

[ngrok](https://ngrok.com/) is incredibly useful for publishing `localhost` servers as temporary publicly available sites

Install it on your path and then run e.g.

```bash
ngrok http 8080
```

If you are running a `webpack-dev-server` you'll \[need to use]:(<https://stackoverflow.com/questions/45425721/invalid-host-header-when-ngrok-tries-to-connect-to-react-dev-server>):

```bash
ngrok http 8080 -host-header="localhost:8080"
```
