I added some text to my index.html file after starting Apache. The updated page loads correctly in my laptop's browser, but it does not open when I try to access it from my phone. What network or Apache settings should I check to make the page reachable from the phone?
3 Answers
Compare the network addresses involved. Find the laptop’s local IP address and try opening that address from the phone. The phone and laptop should be on the same subnet. Testing connectivity from another device can help confirm whether the laptop is reachable before troubleshooting Apache configuration.
If the page loads on the laptop, Apache is probably serving it correctly. Make sure the phone is connected to the same local Wi-Fi network as the laptop and that you’re browsing to the laptop’s local IP address, such as 192.168.x.x, rather than localhost. If the phone is using mobile data, it won’t normally be able to reach a server running on your home network.
This is likely a network or firewall issue. Check that incoming HTTP traffic on port 80—and HTTPS on port 443 if you use it—is allowed through the laptop’s firewall. Also confirm that Apache is listening on the laptop’s network interface, not only on 127.0.0.1 or localhost.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures