-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change app url #16
Comments
What are you actually trying to achieve - it's not super clear from your question. |
The code by default starts the piui server at 0.0.0.0:9999. I tried accessing the piui server at this address, but it only works on the local device. http://piui doesn't work over internet either. I would like to access the server over internet, so I change the URL to another address (192.168.4.1, which is router address) via the files mentioned above. I notice that there is a tool called cherrypy that can take the server and port as arguments. Maybe it would work to pass those as keywords arguments to PiUi class? Let me know if there is an easy solution. |
Simply: How does one change the piui server url from 0.0.0.0:9999? |
Local device - 0.0.0.0:9999 |
I tried changing
nginx.conf
piui
server to192.168.4.1:8080, then copying the file to /etc/nginx and restarting nginx thru init.d. I also tried changing
piui/init.pyPiUi class port to the same url and then rebuilding/reinstalling thru setup.py. This only works for files in the base
piui` directory, but still no luck for files that are in other directories. I also tried rebooting after all of this and still nothing. Any words of wisdom or ways to pass in url as an argument?The text was updated successfully, but these errors were encountered: