pycharm 开发flask应用,之前除了127.0.0.1还有一个本机IP私有地址可以提供访问,现在只有一个,请问如何设置成两个IP都可以访问。想用局域网内其他设备测试。
- Serving Flask app 'app.py'
- Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - Running on http://127.0.0.1:5000**
Press CTRL+C to quit
- Running on http://127.0.0.1:5000**
- Restarting with stat
- Debugger is active!
- Debugger PIN: 391-532-013