jafrance Posted September 21, 2008 Share Posted September 21, 2008 Hey all. New to the forums! Chances are that this is a repost on some level, but I wanted to make sure that all of my circumstances were covered. I am running Apache 2.2.9 on a dedicated XP box using my home broadband connection (modem and router). Upon initial install of the sever, everything works internally. At this point, I registered with DynDns with jafrance.dyndns.org using my external public IP, automatically detected by the service. I then forwarded port 80 and port 433, both TCP and UDP, to the Apache PC's internal IP. Seems pretty basic, so I opened up a browser and tried to navigate to jafrance.dyndns.org. Nothing happened. Next, I called my ISP to see if 80 was being blocked. I found out that they (Charter) does not block ANYTHING (the way it should be)!! So, I opened up the httpd.conf file and found the listening port entry.... So, here is where I am. Im not sure if I need to put my internal IP or my external IP in the Listen area of the httpd. Furthermore, I dont know if I am even going to be able to test the setup from within my own network. Does any of this look way off, or does anyone have any ideas what I am doing wrong? Im pulling my hair out over this. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/ Share on other sites More sharing options...
peranha Posted September 21, 2008 Share Posted September 21, 2008 Listen 80 That is all that you need in the listen area. Also check the computer firewall, make sure that port 80 is open. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647039 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 Right, sorry. Forgot to mention. Samething happens when I take the firewall out of the picture all together. I started off with just Windows Firewall, and then went to ZoneAlarm cause its easier to configure. No dice. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647043 Share on other sites More sharing options...
peranha Posted September 21, 2008 Share Posted September 21, 2008 If you open the command prompt and do ping jafrance.dyndns.org does that match up with your public ip address?? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647046 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 Yes Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647056 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 So figured out why I could not see the server internally using the jafrance.dyndns.org. My router was blocking all anonymous requests. I unchecked that and it went right in. Now I am at work doing some things and thought I would test it out. I already know that the domain name is not being blocked by our content system, and the Network guy that runs the firewall already informed me that there should be no problem. When I try to connect from here, however, I get a 504 Bad Gateway. Can someone test it out that isn't on a corporate network? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647183 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 So I tested it externally on a regular Internet connection and its not working either. So, it still isn't working from the outside. I can plug in the jafrance.dyndns.org from home and it comes right up. I just don't get it. Any help would be greatly appreciated at this point. Its going to keep me from throwing the whole PC out the window. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647203 Share on other sites More sharing options...
corbin Posted September 21, 2008 Share Posted September 21, 2008 Is port 80 forwarded on your router/computer's firewall? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647235 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 It is. And like I said, I can enter the domain name from any computer in the house and it routes just fine. But from anywhere outside, it times out. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647285 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 I stand corrected. When I mentioned above that the router setting that I changed was the annonamos connectinos setting, it was actually the NAT setting that I turned off. If I turn the NAT, I can access through the domain name internally. Sorry for the flub. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647288 Share on other sites More sharing options...
corbin Posted September 21, 2008 Share Posted September 21, 2008 It is. And like I said, I can enter the domain name from any computer in the house and it routes just fine. But from anywhere outside, it times out. So your router probably isn't forwarding 80. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647301 Share on other sites More sharing options...
jafrance Posted September 21, 2008 Author Share Posted September 21, 2008 It is setup in Port Forwarding. Also, I wouldent be able to hit it internally either if it didnt know where to go. Right? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647304 Share on other sites More sharing options...
peranha Posted September 21, 2008 Share Posted September 21, 2008 Try resetting your router, When I ping it, I get 2 failed attempts out of 4. If that doesnt work, I would say that there might be something wrong with your router. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647317 Share on other sites More sharing options...
jafrance Posted September 22, 2008 Author Share Posted September 22, 2008 Is it only because that I am internal that I get perfect ping results? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647321 Share on other sites More sharing options...
peranha Posted September 22, 2008 Share Posted September 22, 2008 yes it is Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647325 Share on other sites More sharing options...
jafrance Posted September 22, 2008 Author Share Posted September 22, 2008 Ok. I will reset to router ASAP. Im am complaining to Charter about the shit quality HD channels they are piping into my house. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647328 Share on other sites More sharing options...
peranha Posted September 22, 2008 Share Posted September 22, 2008 yeah, if you are not getting good quality tv, then it may be their cabling as well, but packet loss i am sure is what it is due to something. I had the same issue, and had to get a new router. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647333 Share on other sites More sharing options...
corbin Posted September 22, 2008 Share Posted September 22, 2008 0 loss on 100 packets for me.... Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647349 Share on other sites More sharing options...
jafrance Posted September 22, 2008 Author Share Posted September 22, 2008 Well, I restarted my router, updated the firmware and reset back to factory defaults. I re-entered the port forwarding of 80-80 (port range) TCP & UDP (also tried just UDP), I changed the httpd file to listen on 192.168.1.100:80 and just Listen 80 (should it be Listen *:80?) and I still cant hit it from outside. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647402 Share on other sites More sharing options...
jafrance Posted September 22, 2008 Author Share Posted September 22, 2008 Late last night I turned on logging on the router and had a friend test the connection from home. It doesnt look like anything was coming in at all. So now I wonder if my ISP told me wrong about incoming 80. When I get home from work tonight, I will test with a different port and port triggering. Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-647780 Share on other sites More sharing options...
jafrance Posted September 23, 2008 Author Share Posted September 23, 2008 I spent an hour or so on the phone with my ISP last night trying to convince them that the problem was on their end. They eventually found some filters on the modem that 'weren't supposed to be there' and removed them. Still cant get in on port 80, 443 or 9191 (just one I tried). I can however, and this is the kicker, I can remote administer my router through 443. So now I am back to pointing at my server config. Anything I should be looking for? Quote Link to comment https://forums.phpfreaks.com/topic/125183-apache-works-sometimes-internally-but-never-externally/#findComment-649049 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.