The line singled out by Chatterbox shows that Apache is listening on port 80 for TCP/IPv6 addresses only.
Presumably, when it works within your LAN, your device (the one issuing HTTP requests) has a v6 address. What is the status outside your LAN. Specifically:
I suspect this may be a probelem with ports.conf. Try replacing the two Listen statements in there withThen re-start Apache (shouldn't be necessary but just in case) and runThis should show Apache listening on both v4 and v6 port 80.
Presumably, when it works within your LAN, your device (the one issuing HTTP requests) has a v6 address. What is the status outside your LAN. Specifically:
- Does your device have a v6 address?
- Does your ISP support v6 addresses?
- Have you forwarded v6 port 80 on your router to the Pi?
- Can you ping the Pi using its v6 address?
I suspect this may be a probelem with ports.conf. Try replacing the two Listen statements in there with
Code:
Listen 80
Code:
sudo netstat -anp | grep apache
Statistics: Posted by nigelbartlett1 — Wed Jun 19, 2024 7:59 am