Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gitSambhal/9c4f4ea8a6dbf53ac0d1d1668363d1b2 to your computer and use it in GitHub Desktop.
Save gitSambhal/9c4f4ea8a6dbf53ac0d1d1668363d1b2 to your computer and use it in GitHub Desktop.
When Invalid Host Header when ngrok tries to connect to Angular or React dev server
When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok.
ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment