(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-01-24 06:16 AM
0 users currently in Hardware / Software.
Acmlm's Board - I3 Archive - Hardware / Software - Running an Apache server on Windows XP Pro...
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
PSlugworth
Posts: 45/61
Yeah, thanks for the suggestions, but unfortunately I think I've tried just about everything, it seems like.

Luckily, I have come across at least one solution.
Zidane
Posts: 47/105
Hm. Very strange... It should work! ;.; I don't suppose you just so happened to miss something like the port forward not being enabled or the schedule not being set to "always?"

I can only think of one other way that you could try... If your host is blocking connections from port 80, change it to something like "3724." You'll then want to open "httpd.conf" in whatever text editor you like to use. On my system, "httpd.conf" is located at "apache\conf." Search for the line "Listen 80" (near the top of the file). Change "80" to whatever port you used instead of "80," like "3724." I forgot to mention that when you use a different port, you got to change the port Apache is bound to. XD
PSlugworth
Posts: 44/61
Ha ha, who buys these things? My roommate's father, I guess. If I wasn't so cheap I'd just go out and buy something a little more up-to-date, but for now I'll see if I can muddle through this. Ah, that I could only go back to running it off of my wonderful, no-nonsense Netgear router.

For your reference, it's a D-LINK DI-604, I think revision A.

My computer is set to only use the .222 IP address, and all the other computer should just be randomly selected from the low-100 range, so that shouldn't be a problem.

I think I've tried the solutions you suggested, but I'll give them a run-through one more time just in case. Either way, thanks for your help!
Zidane
Posts: 45/105
Originally posted by PSlugworth
Well, now that you mention it, I just rechecked it and it doesn't even ask what computer it should be forwarding the port for. It doesn't even say "port forwarding," it says "applications," but it sounds by the description to just be their way of dumbing it down for computer illiterate-types.

It lets me set what port set to "trigger," what port to set for "public," but that's it. Curiouser and curiouser...

There's another option for "virtual server," but I'm not going to screw around with that since apache should be able to handle all that anyway. I wonder if the D-Link people would be any help...

Also, as far as the firewall suggestion, there is a firewall setting on the router, though there's no way to disable it for some reason.


The firewall on the router shouldn't be a problem if the ports are forwarded properly. Would you mind sharing the model number of your router with us?

On the D-Links I've messed with (who buys these?), when you log in, you are taken to the device information page. There's an "Advanced" button to click. If not taken to the "Virtual Server" page, click on the "Virtual Server" link/button.

What you see depends on your version of the router. Service/public/private ports should be set to 80, and the Server IP/Private IP should be set to your computer's IP on the network (192.168.0.222). D-Links usually require that you restart them before the port forwarding takes effect.

Make sure that the system you're running the server on isn't blocking any connections; and that your computer's IP hasn't changed.

If your ISP is blocking connections from port 80, just change the port to something else (like port 25). You'll have to set your domain to use that port, though.
PSlugworth
Posts: 43/61
Here's a fun update: Adding my computer as a/the DMZ also has no effect. What the hell?

Edit: I think the problem might lie within me needing to update the firmware, but D-Link, those clever bastards, have removed all the firmware updates from their web site to force you to buy their newer routers as replacements. Oh, joy of joys.
PSlugworth
Posts: 42/61
Well, now that you mention it, I just rechecked it and it doesn't even ask what computer it should be forwarding the port for. It doesn't even say "port forwarding," it says "applications," but it sounds by the description to just be their way of dumbing it down for computer illiterate-types.

It lets me set what port set to "trigger," what port to set for "public," but that's it. Curiouser and curiouser...

There's another option for "virtual server," but I'm not going to screw around with that since apache should be able to handle all that anyway. I wonder if the D-Link people would be any help...

Also, as far as the firewall suggestion, there is a firewall setting on the router, though there's no way to disable it for some reason. It's set to default as:

Action: Deny
Source: *,*
Destination: LAN,*
Protocol: IP (0),*

I don't know if that means it's blocking all incoming traffic to all LAN IPs (which wouldn't make sense) or what, but like I said, I can't find any way to turn that default off.
rubixcuber
Posts: 52/356
Well, this probably isn't the problem you're having since you have DLink not Linksys, but when I was setting up my Apache server on XP Pro here my router kept reassigning the IP for the port forwarding. I'd check and make sure that the router keeps all the correct settings after you set everything.
neotransotaku
Posts: 1710/1860
Although this is risky, why don't you try to stop the firewall of your router temporarily and try. If you are able to reach your server, then there is something of how you are configuring your router to do forwarding.
PSlugworth
Posts: 41/61
Assuming I'm doing it correctly... nope.
FreeDOS +
Posts: 858/1312
Can you access your server via proxy?
PSlugworth
Posts: 40/61
Per your suggestion, I tried to forward to another port, and set Apache to listen in for the same, but had no luck.

Whatever it is is obviously router related, but I'll be God damned if I can figure it out.
Ailure
Posts: 1876/2602
Sounds silly but sure it's forwarded to the right IP and that your computer actually have the same IP.

Otherwise it might be a case of your ISP blocking port 80. You can try to forward a random port, then reconfig apache to that port then try http://69.112.52.218ORT externally. If that works then port 80 is blocked, otherwise I dunno. :/

My DSL modem had some stupid but dangerous bug where trying to access exteranlly would lead to the Modem's setup page. xD It also stopped external port 80 requests to go into the local network. Thankfully this was fixed with a firmware update...
niteice
Posts: 13/45
It's possible that your router is going berserk at having the outgoing and incoming requests be the same IP - whenever I try to go to my IP locally, I just get my router setup page.

Anyway, I can't connect to your external IP either. Perhaps you should look into a service such as No-IP or DynDNS.
PSlugworth
Posts: 39/61
Hello everybody.

I have run a web site off of my computer for about a year now using Apache. Everything's worked great until just now.

I moved about four weeks ago and have been without internet access until last night. I've been trying to get my web site back up since then but haven't had much luck. I'm using a new hub (as opposed to the old wireless router) and thought I had everything changed for the new setup, but I can't quite seem to get it to gel like it used to.

I can, for example, view my web site by going to the local IP (http://192.168.0.222), which leads me to believe that Apache is running fine, but when I try to access it from my WAN IP (http://69.112.52.218) I get nothing.

I'm using a D-Link hub with port 80 forwarded. I'm not sure if I forgot something somewhere or what, but if there are any other webmasters out there willing to help me it would be GREATLY appreciated.

Thanks!
Acmlm's Board - I3 Archive - Hardware / Software - Running an Apache server on Windows XP Pro...


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.008 seconds; used 360.84 kB (max 409.28 kB)