Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在安装 Ngrok,但我被困在“将本地 Web 服务器公开到 Internet”我正在使用“ngrok http 80”这个命令并打开 localhost 页面。但播种“502 Bad Gateway”错误
我通过确保 IIS Express 在我的 PC 上运行来解决这个问题。在 Visual Studio 中,我运行了我的 Web 应用程序,它启动了 IIS,然后将其关闭。然后 NGROK 又开始工作了。HTH 本杰明
尝试以管理员身份执行 ngrok.exe,并使用端口 80。 ngrok.exe http 80
ngrok.exe http 80