dzomaya / NUTandRpi

A repo for Network UPS Tools and Eaton Tripp Lite UPS demo scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Play date with Klipper

jault83 opened this issue · comments

Good day! I have stumbled across this wonderful Git, have everything installed just so. However when trying to navigate through my browser, it's pulling up my Klipper interface rather than NUT. Please help! I'm very novice at this, I'm sure there is a work around but I should would appreciate some help. Thank you!

Hey @jault83
Thanks for using the project! Quick answer is: it sounds like Klipper is using port TCP port 80, so the web server for this project can't bind to TCP port 80 and serve the Network UPS Tools web pages.

You could do a quick ss -tunlp and check what is listening on TCP port 80 to confirm that.
From there, the fix is really just addressing the port conflict. For example, changing what port Klipper uses or changing what port the Apache install here uses (probably a tweak in /etc/apache2/ports.conf plus a service restart.

But, I am handwaving a bit as I'm not sure the specifics of your environment and not looking at a fully working install as I type this up. I at least wanted to get you some quick feedback that might help. Let me know if this helps at all, if not, post back with updates.

Thank you for the reply! Klipper is using port 80, and Moonraker is using 7125. I do not see that configuration file you mentioned, I searched my Pi for it and cannot find it. Looking at Apache's documentation, I should also have the file httpd.conf but I cannot find that file either. I'm going to attempt to reinstall Apache and go from there.

@jault83
Did you get it working?

@jault83
I'll close this one for now, but feel free to comment if you have any issues.