Comments (3)
Are you passing the host
keyword argument into socketio.run()
as well?
from flask-socketio-chat.
socketio.run(app, host='192.168.1.5')
did the trick!
app = create_app(debug=True)
in chat.py
remains as is, it does not need the host
argument passed
Thank you Miguel!
P.S Why app = create_app(debug=True)
in chat.py
enables the debugger but app = create_app(host='192.168.1.5', debug=True)
does not change the host?
from flask-socketio-chat.
The create_app
function passes the debug
setting through to the flask app it creates. It does not do the same with host
, but you can easily add that functionality if you need it.
from flask-socketio-chat.
Related Issues (20)
- Trying to make a chatbot HOT 3
- Accessing to application context in a background task with Blueprints HOT 11
- Scaling with Redis HOT 1
- Server receives event correctly, but It doesn't execute method HOT 1
- Unicode message seems not work with SSL HOT 4
- Not working on Google chrome HOT 2
- Understanding the structure HOT 3
- Commands HOT 3
- Clean install virtualenv error HOT 2
- Making calls to external API with only 1 gunicorn worker HOT 12
- Flask-socketio nginx HOT 11
- socketio.run (app) vs app.run ()
- way to change the hosted socket HOT 2
- Add Password Support: HOT 1
- Flask-SocketIO-Chat with background event
- didn't work on localhost cuz of `https` missing from source HOT 4
- Socket Handlers not being Triggered Even after i've imported them HOT 13
- Example code with Auth key at the time of connect HOT 1
- python version HOT 2
- failed to install requirements on windows due to greenlet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-socketio-chat.