Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Overrideveloper/9a2501b367af3a703eb3a04af6764b26 to your computer and use it in GitHub Desktop.

Select an option

Save Overrideveloper/9a2501b367af3a703eb3a04af6764b26 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