Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4105

Troubleshooting • Re: Apache not accessible to internet. Losing my mind.

$
0
0
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:
  1. Does your device have a v6 address?
  2. Does your ISP support v6 addresses?
  3. Have you forwarded v6 port 80 on your router to the Pi?
  4. Can you ping the Pi using its v6 address?
{Edited to add the following}
I suspect this may be a probelem with ports.conf. Try replacing the two Listen statements in there with

Code:

Listen 80
Then re-start Apache (shouldn't be necessary but just in case) and run

Code:

sudo netstat -anp | grep apache
This should show Apache listening on both v4 and v6 port 80.

Statistics: Posted by nigelbartlett1 — Wed Jun 19, 2024 7:59 am



Viewing all articles
Browse latest Browse all 4105

Trending Articles