Comments (4)
Oh correct! Thank you! Turns out it's my false assumption about how flask app runs! Sorry to bother you for this naive question.
Thanks again๐
from python_blockchain_app.
It seems like your port 8000 is running the application and not the node_server
from python_blockchain_app.
Hi satwikkansal, thanks a lot for your reply!
No, I did run node_server on port 8000. I run the application on port 5000 by the default config. I didn't change any code and followed your tutorial blog. I just did these to reproduce the issue:
In my first tab, I run node_server on port 8000
Then in my second tab, I run the app
In my third tab, I run another node_server on port 8001
In my fourth tab, I tried to register 8001 with 8000 and got 404
Come back to the third tab, there's an extra line showing 404 error as well
The first and second tabs didn't prompt any extra information.
Please let me know where I could do it wrong. I really appreciate your help! ๐
from python_blockchain_app.
You thrid tab is not serving node_server
, compare the logs with the second tab.
You need to export the FLASK_APP environment variable in the third tab as well.
from python_blockchain_app.
Related Issues (20)
- Quick question about deploying this to share with my class
- How can we generate desired hash code ? HOT 1
- Submit transaction to all miners HOT 3
- Blockchain data goes to node 8000/chain HOT 2
- Canยดt execute the Blockchain HOT 1
- Error HOT 1
- 1
- Transaction size HOT 1
- requests.exceptions.ConnectionError HOT 4
- Tutorial no longer accessible HOT 2
- e
- Pin markupsafe version in requirements.txt HOT 8
- in run_app.py 'app' is not defined HOT 1
- timestamp is not included when calculate genesis block HOT 2
- Localhost 5000 & 8000 can not work. HOT 1
- Containerise this?
- OpenAPI API spec HOT 1
- Server error HOT 2
- How can retrieve transactions and how many transaction in one block? HOT 1
- not able to contact with llm models HOT 1
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 python_blockchain_app.