- This topic has 5 replies, 3 voices, and was last updated 5 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Possible to run a second Web Server on an OSPi?
Tagged: LAMP server
Hi. I’m wondering if it is possible to set up a separate web server (using the LAMP stack) on the same Pi that OSPi is installed on. If so, how would this be done so that both the independent web server and the OSPi Admin can be separately accessed. Thx?
Yes, certainly. OSPi firmware only occupies port 8080 by default. You can change that port, or use a different port to set up a separate server. The reason it uses 8080 by default is to free up port 80 so if you want to launch apache web server etc. that won’t conflict with the port.
Hi Ray,
Thank you for confirming this is possible. I’m a new user, so how can I change the port? Is there a way to configure the port using a variable or do I have to modify the code before building it?
Thank you in advance!
The firmware already allows you to change the HTTP port. Go to Edit Options -> Advanced -> HTTP port. You will have to restart RPi or restart the OpenSprinkler process after this, for the port to be effective.
Thanks Ray,
I already have something running on the port so was looking to configure OpenSprinkler before using it!
I’ll stop the other service and try OpenSprinkler on it’s own so I can see the option you’re talking about.
Thank you
I was about to post a similar question and just wanted to get a clarification. I was wondering something similar with more modern raspberrypi pis like the 4 assuming the port is free i assume ospi doesnt really use much resource.
I was thinking i can have my home-assistant ( no GPIO requirements ) and opensprinkler on the setup on the same device.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Possible to run a second Web Server on an OSPi?