searchGPT icon indicating copy to clipboard operation
searchGPT copied to clipboard

How do I open IP access and change ports?

Open fusang1337 opened this issue 2 years ago • 2 comments
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

fusang1337 avatar Aug 04 '23 02:08 fusang1337

You can set the host and port in app.run() function:

app.run(debug=True, host='xxxxx', port=xx)

QAbot-zh avatar Aug 30 '23 04:08 QAbot-zh

Thank you @undefinedcodezhong !

michaelthwan avatar Aug 31 '23 09:08 michaelthwan