Thread: HTTP server failure.

  1. #1
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829

    HTTP server failure.

    I have Apache running on one of my machines, it seems to work, if I type in 127.0.0.1 in IE it shows the Apache welcome screen, (I haven't moved the default index.html yet). If I type in the IP of the Apache host machine on another machine on my side of my router, this too, can see the Apache server, and I get a connect logged in the server log. I am, therefore, pretty confident it is running.

    I have altered the address target at my domain resgistry to point to the fixed IP address I have for my DSL. This has trickled through to the DNS servers because if I type my url, it tells me it is trying to connect to the right IP. So I am pretty confident that stage has worked.

    The firewall in the router, (D-Link DI-804), is configured to open port 80 against the internal IP address of the server machine, router rebooted and it's status page shows me the correct settings. I am pretty confident that is okay.

    So I am pretty confident all the parts are working, but, when I now enter the url, it 404's.

    Anyone see why?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  2. #2
    .........
    Join Date
    Nov 2002
    Posts
    303
    Hmmm, is your isp blocking port 80? I know this is the case for me

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Far from being useful, I'm going to state that I have the same router and have had the same problem with a number of different web servers, and have never gotten it to work. It could be my ISP, but I've tested it on te FTP and Telnet ports as well, in addition to other ports, and possibly some non-standard ports (don't remember) to no avail. However, when I turned on remote hosting from the configuration page for the router, I was able to access that...
    My friend with a Linksys router and the same ISP encountered the same problem - mysterious 404s...so, it could be the routers, or it could be the ISP. Anyway, there's my input.
    Away.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    maybe try adding your own 404 page to see if it is you that is generating it.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User HaLCy0n's Avatar
    Join Date
    Mar 2003
    Posts
    77
    What IP to you have the server bound to? I'd have it set to the internal address and not the external one, if that doesn't work, try it the other way around. Not really sure, sorry.

  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Fixed I think, although I don't really understand why.

    Having fiddled with all manner of things, and tried some of the suggestions, I rang TeleDanmark and asked them if they were blocking the inbound ports, the said no. So I told them what the problem was and they asked me about the router settings.

    The "Ah, wait a minute" came when I told them about the fixed IP address. Then came, "when we say a fixed IP address, we actually mean a non-dynamic dynamic IP address, set the router to DHCP WAN side and it'll work". So I did and it did.

    I have all the paperwork out, (because I was trying to fix this), it says "you've ordered a fixed IP", "here is your fixed IP", "thankyou for ordering a fixed IP", "have fun with your fixed IP", "tell your friends about having a fixed IP", but in actual fact they have delivered a non-dynamic dynamic IP. Ho-hum.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. detect UDP server failure
    By trinli in forum Networking/Device Communication
    Replies: 10
    Last Post: 03-17-2009, 09:57 AM
  2. Help with Parsing HTTP response from server
    By NuNn in forum C Programming
    Replies: 4
    Last Post: 02-19-2009, 03:02 PM
  3. uploading file to http server via multipart form data
    By Dynamo in forum C++ Programming
    Replies: 1
    Last Post: 09-03-2008, 04:36 AM
  4. HTTP Server?
    By Nebbuchadnezzar in forum Tech Board
    Replies: 9
    Last Post: 07-30-2005, 03:46 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM