Skip to content

Instantly share code, notes, and snippets.

@seremwen
Forked from xola139/Invalid Host Header NGROK
Created January 20, 2023 08:29
Show Gist options
  • Save seremwen/1e2cd335e2fb2ddafb2b9ce5afac5f12 to your computer and use it in GitHub Desktop.
Save seremwen/1e2cd335e2fb2ddafb2b9ce5afac5f12 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