Giter Club home page Giter Club logo

Comments (4)

hanglearning avatar hanglearning commented on June 5, 2024 1

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.

satwikkansal avatar satwikkansal commented on June 5, 2024

It seems like your port 8000 is running the application and not the node_server

from python_blockchain_app.

hanglearning avatar hanglearning commented on June 5, 2024

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
Screen Shot 2020-04-02 at 11 38 41 AM

Then in my second tab, I run the app
Screen Shot 2020-04-02 at 11 38 59 AM

In my third tab, I run another node_server on port 8001
Screen Shot 2020-04-02 at 11 39 06 AM

In my fourth tab, I tried to register 8001 with 8000 and got 404
Screen Shot 2020-04-02 at 11 39 26 AM

Come back to the third tab, there's an extra line showing 404 error as well
Screen Shot 2020-04-02 at 11 39 37 AM

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.

satwikkansal avatar satwikkansal commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.