9
votes

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

2
I have the same problem now. At the start it worked but now I don't know what changed. Found a solution to this?Gabi Radu
are you using a Proxy?glls

2 Answers

0
votes

Try executing ngrok.exe as an administrator , and use the port 80 . ngrok.exe http 80

0
votes

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