Open hugoforat opened 6 years ago
For that, it is better to serve the Flask server behind Nginx/Apache using Gunicorn or uWSGI bound to 0.0.0.0:5000
and then use your Linux server's IP to access the web page.
If you are on the same network, you could add host
and port
to the line as app.run(host='0.0.0.0', port=5000, debug=True)
, and then access the page over 192.168.xx.xx
or what ever your internal IP is.
Maybe add a flag that can allow to specify port and host
@daxeel you never close issue with confirming from the issue creator unless inactive
@smitthakkar96 Yes, you are absolutely correct. @sreecodeslayer explained about the issue thats why i thought that issue may be solved. By the way, I apologize for this action. Re-opening.
Hello,
How can i change "127.0.0.1:5000" by "mylocalip:5000" ?
Blockshell is on my linux server and I would like access to web page from my windows client.
thanks !