GithubHelp home page GithubHelp logo

Change 127.0.0.1 by server ip about blockshell HOT 4 OPEN

daxeel avatar daxeel commented on June 9, 2024
Change 127.0.0.1 by server ip

from blockshell.

Comments (4)

smitthakkar96 avatar smitthakkar96 commented on June 9, 2024 1

@daxeel you never close issue with confirming from the issue creator unless inactive

from blockshell.

sreecodeslayer avatar sreecodeslayer commented on June 9, 2024

For that, it is better to serve the Flask server behind Nginx/Apache using Gunicorn or uWSGI bound to 0.0.0.0:5000 and then use your Linux server's IP to access the web page.

If you are on the same network, you could add host and port to the line as app.run(host='0.0.0.0', port=5000, debug=True), and then access the page over 192.168.xx.xx or what ever your internal IP is.

from blockshell.

smitthakkar96 avatar smitthakkar96 commented on June 9, 2024

Maybe add a flag that can allow to specify port and host

from blockshell.

daxeel avatar daxeel commented on June 9, 2024

@smitthakkar96 Yes, you are absolutely correct. @sreecodeslayer explained about the issue thats why i thought that issue may be solved. By the way, I apologize for this action. Re-opening.

from blockshell.

Related Issues (11)

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.