Ngrok errors ‘502 bad gateway’

This worked for me

ngrok.exe http -host-header=rewrite localhost:<Your Port number>

e.g:

ngrok.exe http -host-header=rewrite localhost:5219

Im using visual studio 2017 dont know if it effects anthing.

Leave a Comment