Reputation: 99
I am installing Ngrok, but I am stuck at "Expose a local web server to the internet" I am using "ngrok http 80" this command and opening localhost page too. but sowing "502 Bad Gateway" Error
Upvotes: 9
Views: 10234
Reputation: 31
I resolved this by making sure IIS Express was running on my PC. In visual studio I ran my web app, that started up IIS and then closed it down. Then NGROK started working again. HTH Benjamin
Upvotes: 0
Reputation: 1170
Try executing ngrok.exe as an administrator , and use the port 80 .
ngrok.exe http 80
Upvotes: -1