Site can only be accessed from LAN; why isn't it online?
Posted by: Rohawk (---.cle.clearwire-wmx.net)
Date: June 19, 2013 02:02PM

I'm running PHP 5.4.3 and Apache 2.4.2. I can access my site from my computer and my girlfriend's, but nobody else can access it from theirs. I've:

-- forwarded to port 80 from the router config
-- switched to port 8081
-- forwarded to port 8081
-- switched back to port 80 when changing ports didn't work
-- temporarily disabled my firewall (got it working on the girlfriend's desktop, but only that)
-- added firewall exceptions for port 80 and apache
-- edited the httpd.conf file to listen to my ip at port 80, and changed the ServerName to localhost:80

The ip address is: [192.168.1.12]

The tray icon is green and says it's online.

What am I doing wrong?



Edited 3 time(s). Last edit at 06/19/2013 02:04PM by Rohawk.

Options: ReplyQuote
Re: Site can only be accessed from LAN; why isn't it online?
Posted by: RiggsFolly (---.as13285.net)
Date: June 20, 2013 11:03AM

Ok lets assume you are back to using port 80, you have port forwarded the router so access on port 80 is forwarded to your WAMP pc.

When you try to run your site from inside your router ( your private network ) on another PC you would use the address 192.168.1.12 but from outside of your private network other people would have to use the WAN ip address of your router. You should be able to get this from your router admin software, or use this site, it will show you your routers wan ip.

[www.whatsmyip.org]

Then just tell your friends what the ip is.

Of course this may change on each reboot of your router, depending on how your ISP manages the allocation of IP Address's

Options: ReplyQuote


Sorry, only registered users may post in this forum.