Comments (3)
Hi Logixor, there may be some mix up here between your use of Apache and Flask. You can think of these as two different web servers.
Apache is running on port 80, and serving the static files in your /var/www folder - but this is not how you access the flask application.
Flask is running on port 5000, and you'll need to access this on this port (or you can look up setting up a "proxy" to user apache on port 80). But for now, I would open up port 5000 on your Ec2 security group, and try to navigate to http://ec2-XX-XX-XXX-XXX.eu-north-1.compute.amazonaws.com:5000 in your browser. Monitor the output from the flask app when you do this to see if you get a connection attempt.
from async_flask.
Thanks for the update :)
I have opened the port, but the result is still the same.
Does it matter where the project is?, I mean:
in /var/www/
in /var/www/html/
or in /var/www/html/async_flask/
from async_flask.
If this is still an issue you, may need to put specific rules in your apache setup to route /socket requests.
from async_flask.
Related Issues (13)
- this code is not working HOT 4
- Would you mind adding a license to this repo? HOT 2
- example doesn t work HOT 2
- get incoming request HOT 1
- thread.isAlive() is deprecated HOT 1
- unsupported version of the Socket.IO HOT 4
- Python 3.9 now defunct HOT 1
- gevent version HOT 1
- Python 3.5 version HOT 6
- Not working on Chrome? HOT 4
- Only the first random generated number is shown, very slow to show new numbers HOT 4
- How cancel randomgenerator after all connections is closed HOT 4
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 async_flask.