Git Product home page Git Product logo

Comments (7)

DesktopECHO avatar DesktopECHO commented on August 28, 2024

I already tried #3, but after restarting lighttpd and making sure it's running and everything it still doesn't work. I wonder if there's anything else I should try?

Hi there, what steps did you try from #3 ?

What's the output from sudo lsof -i :80 and sudo ps -ef | grep lighttpd

Did you change the port lighttpd uses? The procedure to change the port has changed since that post. For example to use port 60080 it would be:

echo "server.port := 60080" > /etc/lighttpd/conf-enabled/07-port.conf

...and restart lighttpd or bounce the instance and try going to http://172.16.1.85:60080/admin

from pi-hole-for-android.

juanmanjarres avatar juanmanjarres commented on August 28, 2024

Hi there, what steps did you try from #3 ?

I tried checking the status of lighttpd, and it was already running. I stopped it and restarted it but it was the same. I also checked the port with the sudo lsof -i :80 command but it didn't have anything so I did not change the port.

What's the output from sudo lsof -i :80 and sudo ps -ef | grep lighttpd

It gives me this:
Screenshot 2023-04-12 at 3 07 58 PM

Did you change the port lighttpd uses? The procedure to change the port has changed since that post. For example to use port 60080 it would be:

echo "server.port := 60080" > /etc/lighttpd/conf-enabled/07-port.conf

...and restart lighttpd or bounce the instance and try going to http://172.16.1.85:60080/admin

I tried that but it says permission denied, even if I try running it as sudo:

Screenshot 2023-04-12 at 3 10 22 PM

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Check the status of the service:
sudo service lighttpd status

Should return:
lighttpd is running.

Next, find which port lighttpd is using:
sudo ss -4 -l -p -t -n | grep light

This will return something like:
LISTEN 0 1024 0.0.0.0:80 0.0.0.0:* users:(("lighttpd",pid=6036,fd=5))

In the example above, lighttpd is running on port 80.
What does yours show?

from pi-hole-for-android.

juanmanjarres avatar juanmanjarres commented on August 28, 2024

Check the status of the service: sudo service lighttpd status

Should return: lighttpd is running.

Next, find which port lighttpd is using: sudo ss -4 -l -p -t -n | grep light

This will return something like: LISTEN 0 1024 0.0.0.0:80 0.0.0.0:* users:(("lighttpd",pid=6036,fd=5))

In the example above, lighttpd is running on port 80. What does yours show?

Screenshot 2023-04-14 at 9 58 47 AM

Yeah it seems to be running fine and it's on port 80

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

On the device, open a browser and try http://127.0.0.1/admin

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Checking back on this issue... as you've shown, lighttpd is running so there should be no reason you can't (at the very least) reach the web interface locally on the device. If it does work but other machines can't the web interface, perhaps your device has a firewall rule in place. Let me know the outcome when you have a chance.

from pi-hole-for-android.

juanmanjarres avatar juanmanjarres commented on August 28, 2024

Sorry, sadly the phone I was running pihole in died two days ago, so I don't have any way of checking what it was anymore, but thank you for the help!

from pi-hole-for-android.

Related Issues (20)

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.