# ngrok
Links: [[Web Development]]
## Uses
https://ngrok.com/docs
- Expose a local webserver (e.g. localhost:8000) to the internet, particularly useful when integrating with 3rd party webhooks
- Inspect traffic incoming to your webserver from 3rd party APIs
- Replay requests
## Notes
### Tunnel to `https://localhost:port`
https://github.com/inconshreveable/ngrok/issues/448#issuecomment-470136623
```bash
./ngrok http https://localhost:8080 -subdomain=max
```
Make requests to `http://max.ngrok.io`
- Making requests to `https://` will result in cert errors
- Working example in [[lnd#Minimal REST code]]