Giter Club home page Giter Club logo

Comments (7)

MrChronoM avatar MrChronoM commented on July 17, 2024

I did test this application yesterday and it is possible to just access it on the local network. I didn't do the access point configuration and it just runs on the local network.

from piui.

andig avatar andig commented on July 17, 2024

@MrChronoM: could you explain how? Running the sample app I can curl localhost:9999, but I cannot read the Pi from another machine (I can on port 80 though)?

from piui.

MrChronoM avatar MrChronoM commented on July 17, 2024

I just followed the 'do-it-yourself' installation instructions on http://blog.davidsingleton.org/introducing-piui/, but starting by editing the hosts file (not the Access Point). When the installation is all done I did run 'python piui_demo.py' and from that point on I could connect to http://:9999/
(Not sure what is running on all different ports, but I think 80 and 9000 have something to do with nginx or CherryPi)

from piui.

dps avatar dps commented on July 17, 2024

Hi folks, the reason nginx is required is to force HTTP/1.0. Without this, the interaction between cherrypy and the android web browser is laggy (related to how pipelined connections are handled). If you have no interest in your project working well on android, you can drop nginx and connect directly to port 9999 or even run cherrypy on port 80

from piui.

andig avatar andig commented on July 17, 2024

So you're basically using localhost rhen? Could you check if you could connent to :9999 from another machine? That would help narrow down the problem I'm seeing. Thanks!

Von meinem iPhone gesendet

Am 30.03.2013 um 18:31 schrieb MrChronoM [email protected]:

I just followed the 'do-it-yourself' installation instructions on http://blog.davidsingleton.org/introducing-piui/, but starting by editing the hosts file (not the Access Point). When the installation is all done I did run 'python piui_demo.py' and from that point on I could connect to http://:9999/
(Not sure what is running on all different ports, but I think 80 and 9000 have something to do with nginx or CherryPi)


Reply to this email directly or view it on GitHub.

from piui.

dps avatar dps commented on July 17, 2024

The cherrypy instance serves on 0.0.0.0:9999 so you should be able to connect from any other machine on either the wired or wireless (if available) network, assuming that your router or rpi configuration doesn't have any firewall in the way.

from piui.

andig avatar andig commented on July 17, 2024

Please forgive me- confirmed working as suggested.

from piui.

Related Issues (16)

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.