Skip to content

Instantly share code, notes, and snippets.

@xola139
Last active March 23, 2022 09:02
Show Gist options
  • Save xola139/4b97f2f1195914081fca8ebaa2044423 to your computer and use it in GitHub Desktop.
Save xola139/4b97f2f1195914081fca8ebaa2044423 to your computer and use it in GitHub Desktop.
wHEN Invalid Host Header when ngrok
wHEN Invalid Host Header when ngrok tries to connect to Angular app
I found this solution
https://stackoverflow.com/questions/45425721/invalid-host-header-when-ngrok-tries-to-connect-to-react-dev-server
ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080
https://stackblitz.com/edit/angular-material-expandable-table-rows?file=app%2Ftable%2Ftable.component.html
@ronaldohoch
Copy link

Works!
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment