Cannot access apache webserver running on home network from internet
I am trying to setup apache web server in my home network. I followed the instructions found at http://www.boutell.com/newfaq/creating/hostmyown.html. I have a d-link dir-601 router with a cable internet connection.
I am able to connect to the web server from my LAN using the url pointing to my server's ip 192.168.0.103 in the web browser.
but when I am trying to browse the same with my phone on 3G network, I get a message "server cannot be found".
My Public IP starts with 61.xx.xxx.xxx and my router has an IP of 192.168.0.1
Could anyone please help me in figuring out the issue?
Solution 1:
The most common issue is that your firewall/router blocks this kind of incoming connection. Try setting a port forwarding from any IP, port 80 to port 80 (or whatever port you have configured your server to use) in your router and temporarily disable your Windows or other firewall, then try again. If it works then, enable your firewall and try again. If it doesn't work then, tell your firewall to accept incoming connections on port 80.