searchGPT
searchGPT copied to clipboard
How do I open IP access and change ports?
trafficstars
I built it on the server and it works fine
(searchChat) root@fusang:~/docker/searchGPT/src# python flask_app.py
* Serving Flask app 'website'
* 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
* Restarting with stat
* Debugger is active!
* Debugger PIN: 790-193-721
How to change access privileges from 127.0.0.1 and 5000
You can set the host and port in app.run() function:
app.run(debug=True, host='xxxxx', port=xx)
Thank you @undefinedcodezhong !