Skip to content

Instantly share code, notes, and snippets.

@Adrek
Forked from xola139/Invalid Host Header NGROK
Created May 4, 2023 00:41
Show Gist options
  • Save Adrek/b07b9d60486ba316b9b43d2c9a7cb1cb to your computer and use it in GitHub Desktop.
Save Adrek/b07b9d60486ba316b9b43d2c9a7cb1cb 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