我将烧瓶导入到我的 python 脚本中,并且我正在使用 ngrok 使其可访问。
The ASK_APPLICATION_ID has not been set. Application ID verification disabled.
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
The ASK_APPLICATION_ID has not been set. Application ID verification disabled.
* Debugger is active!
* Debugger pin code: 288-130-002
在 ngrok 中,如果设置为 Web 界面:http: //127.0.0.1 :4040
每当我尝试将 python 脚本设置为相同的端口 (app.run(port="4040)),然后运行 ngrok,ngrok 将其端口更改为 4041。
如果我先运行 ngrok,然后将端口设置为 ngrok 的端口,我会收到端口正在使用的错误。