satwikkansal / python_blockchain_app

A fully functional blockchain application implemented in Python from scratch (with tutorial).
819 stars 471 forks source link

Request to mine not working #25

Closed bharat08101997 closed 4 years ago

bharat08101997 commented 4 years ago

I tried running the code but it says "URL NOT FOUND".You mentioned that the port is running on 8000 instead of 5000. Can you elaborate on the changes to be made? output output2 output3

satwikkansal commented 4 years ago

You're running the application (not the blockchain server) on port 8000. As per the instructions in the README, the application runs at port 5000.

There seems to be issue with the way you're setting the FLASK_APP environment variable. It's not set correctly so flask is not actually running the node_server but the web application instead..

satwikkansal commented 4 years ago

Check out https://stackoverflow.com/a/40852895/4354153

satwikkansal commented 4 years ago

closing this due to inactivity, feel free to open up again.