miguelgrinberg/Flask-SocketIO-Chat

way to change the hosted socket

ShasV05 opened this issue · 2 comments

is there a way to change the hosted socket from 127.0.0.1 to 192.168.*.

Sure. Call socketio.run(app, host='0.0.0.0') and then the server will listen on all the IP addresses associated with your machine.

thanks