You are not logged in.
Well, I followed the guide in the wiki: http://wiki.archlinux.org/index.php/LAMP
Everything assumed to work fine, http://localhost worked. Mysql works, php works, ect.
However, when going to my IP address I get "Failed to connect" error with firefox. I figured maybe my ISP was blocking port 80, so I tried
8080, also tried 1234(just to be random). None work. Conclusion... works on local, but not the world wide web
Last edited by twiistedkaos (2008-10-30 22:47:21)
Offline
Have you setup port forwards on your router?
Can you ping the box from outside world?
tcpdump -lnn -i ethX host <remote computer>
Replace ethX with the interface of your net connection, and <remote computer> with the IP address of the computer outside your network that you can ping from. If the pings are going to the box, then they should come up in the tcpdump. Try accessing Apache too and that should show. If nothing it showing, then the packets aren't getting through to the box.
Last edited by fukawi2 (2008-10-30 02:38:07)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
It's most likely your router's firewall blocking all incoming ports. You should be able to access its configuration menu through your browser and change the firewall settings. Check
netstat -nr
to get the gateway address, then navigate to that in your browser ("http://xxx.xxx.xxx.xxx" where "xxx..." is your gateway's ip).
If that doesn't work, check the manual.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Yes, I did set port forwarding on my router. I even thought maybe I would have to restart the router before it would take place, those were a no go.
Offline
Have you tried an online port scanner to see what ports are open?
Offline
Some routers have trouble doing port forwarding correctly when you try to access their WAN interface from the LAN side. Try SSH'ing into a remote box and see if it works from there, ask a friend at a different IP to try and access it, or try an online port scanner.
The suggestion box only accepts patches.
Offline
Port 80 on the LAN side normally redirects to the router's configuration interface, right?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Some routers have trouble doing port forwarding correctly when you try to access their WAN interface from the LAN side. Try SSH'ing into a remote box and see if it works from there, ask a friend at a different IP to try and access it, or try an online port scanner.
Um, 192.168.1.1:80 goes to my routers homepage.
192.168.1.46:80 goes to my apache server.
71.121.68.169:80(my ip) goes no where.
71.121.68.169 I've asked other to connect to before even posting, and was a no go.
showing port forwarding in routers settings
Last edited by twiistedkaos (2008-10-30 22:08:30)
Offline
I tried to connect to http://71.121.68.169 in firefox and received no error. I can ping it as well and I used nmap to check which ports were open:
PORT STATE SERVICE
80/tcp open http
4567/tcp open unknown
The problem seems to be a permissions one on your machine, not your LAN. I hope this helps.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I tried to connect to http://71.121.68.169 in firefox and received no error. I can ping it as well and I used nmap to check which ports were open:
PORT STATE SERVICE 80/tcp open http 4567/tcp open unknown
The problem seems to be a permissions one on your machine, not your LAN. I hope this helps.
Do you get just a white page? If so, that's the index.html. Hmm if you get a whitepage I guess something I was tinkering with last night actually worked. Only if I knew what..
Offline
Yeah, I get a pure white page. I checked the source and there is nothing there.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Yeah, I get a pure white page. I checked the source and there is nothing there.
Thats correct then, thanks for your help
Offline