Rob's Wiki
  • Welcome
  • AWS
    • Appsync
    • Athena
    • S3
  • Terminal
    • brew
    • curl
    • git
    • kubernetes
    • ngrok
    • terminal
    • tmux
    • zsh
  • Design
    • Sketch
    • Fusion360
    • TinkerCAD
  • Haskell
    • Haskell
    • Stack, Cabal etc
  • Javascript
    • Javascript
    • npm
    • Vue
  • CSS
  • Mac
  • Python
    • iPython
    • pip
    • Virtualenv
  • Scala
  • Rust
  • VSCode
  • Keyboard Shortcuts
Powered by GitBook
On this page
  1. Terminal

ngrok

PreviouskubernetesNextterminal

Last updated 5 years ago

is incredibly useful for publishing localhost servers as temporary publicly available sites

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

ngrok http 8080

If you are running a webpack-dev-server you'll [need to use]:():

ngrok http 8080 -host-header="localhost:8080"
ngrok
https://stackoverflow.com/questions/45425721/invalid-host-header-when-ngrok-tries-to-connect-to-react-dev-server