I have my development server on localhost, currently using Wamp Server.
I have setup port forwarding on my router (I used a similiar configuration for game servers and it works for them).
I set listening in http.conf to port 8080, no firewall is blocking Apache, and allowed access to All in http.conf for Directory F:/wamp/www. I still can't get it working. Server runs properly for localhost, but I cannot access it from the internet via my global IP.
I have dynamic IP, but that not a problem since I will just tell clients the current IP each time it changes.
Best Answer
If it works on LAN but not on WAN, then you may need port forwarding.
This is common if you have a cable modem or something that doubles as a hardware firewall.
If so, this is how I would fix it on mine, and it should be similar to yours:
First, press WINKEY then type
cmd
then in the Command Prompt, typeipconfig /all
. Record the IPv4 Address for your computer. It will be like192.168.0.10
for example.IPv4 Address. . . . . . . . . . . : 192.168.0.10(Preferred)
That is your computer's address on your LAN. Let's say your WAN IP is like
24.100.50.200
and your Wampserver is setup on port1337
. You would expect it to work viahttp://24.100.50.200:1337
but it doesn't.Your goal now is to forward port 1337 in your firewall to
192.168.0.10:1337
. This makes sense because imagine you had like 5 computers. How would your modem/router know which one to send traffic to?Now:
192.168.0.10
1337