Can't remotely access my server

Discussion in 'Apache' started by thestew42, Oct 14, 2009.

  1. #1
    I set up a server on a computer with vista and going to "http://localhost" works on the server. Going to "http://192.168.1.4" with another computer on the same router works. But going to the actual IP of the server from a remote computer yields a "Server Timed Out" message and pinging the IP does the same.

    I disabled the vista firewall and don't have any others running. I also saw someone say you need to forward port 80. So I went into my router's (netgear) configuration and forwarded port 80 to 192.168.1.4. That seems like it should work to me, but it still isn't. Any ideas? Thanks.
     
    thestew42, Oct 14, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Your ISP may be blocking port 80, as most do not allow a server to be run on your connection. Try changing the port to something off standard, like port 8003. Restart the web server, and change your router settings to forward the new port, and see what happens.
     
    RHS-Chris, Oct 15, 2009 IP
  3. thestew42

    thestew42 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't http traffic have to go through port 80? Would it work to use 8003? I'm new to this so I'm not sure.
     
    thestew42, Oct 15, 2009 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    You can set up the server to use what ever port you want, standard of course is to use port 80. Your url would of course have to reflect this, ie:

    http://yoursite.com:8003
     
    RHS-Chris, Oct 15, 2009 IP
  5. tjabaut

    tjabaut Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    First things first I would verify whether or not the port is being blocked before looking anywhere else.

    Goto https://www.grc.com/x/ne.dll?bh0bkyd2 and click on proceed.

    On the Shields Up screen just click on the Common Ports and a scan will begin.

    The results will tell you if a web server was found.

    Once you have this information post back.

    It could be your firewall, NAT, PAT, etc.
     
    tjabaut, Oct 15, 2009 IP
  6. Tropp

    Tropp Well-Known Member

    Messages:
    108
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #6
    you're typing http://192.168.1.4 from another computer not on the network ?

    If so its never going to work because that's purely a network IP, you'll need the proper internet IP address of your connection and that's assuming your ISP isnt blocking the ability to run a web server.
     
    Tropp, Oct 16, 2009 IP
  7. thestew42

    thestew42 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I did the port checker and it said all of the ports were on stealth except for 68 which was closed. So how can I take them off of stealth to open them??

    And no I wasn't typing the local IP from a remote computer, I was typing it on another computer on the same network.
     
    thestew42, Oct 18, 2009 IP
  8. thestew42

    thestew42 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I just went into the XP network connections dialog and added HTTP to the "services that internet users can access" but now the port scan shows that 80 is closed rather than stealth.
     
    thestew42, Oct 18, 2009 IP
  9. tjabaut

    tjabaut Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Stealth mode does not mean that the port is blocked, but rather that it is setup to not respond to ICMP broadcasts. This is generally a desired result as it enables Port Scanners to determine that the port is not open.

    So at this point your firewall is setup to forward all traffic on port 80 TCP to 192.168.1.4, correct?

    Also, you have turned off Windows Firewall??

    What model Firewall is it? I think you said that it is a Netgear, but depending on the type it could be suppling a different type of NAT such as Full Cone, or Symmetric. If you supply the model number I will be better equiped to help.
     
    tjabaut, Oct 19, 2009 IP
  10. tjabaut

    tjabaut Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Also what is the actual Internet IP. I might be able to obtain some info by trying to port scan.
     
    tjabaut, Oct 19, 2009 IP
  11. thestew42

    thestew42 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Well I was able to open port 80 by installing the IIS component of windows. I still don't know what the installer did that I wasn't able to do. I have nVidia firewall and Windows XP SP3 firewall both disabled. The router is a netgear WGR614v9 and yes port 80 TCP/UDP is forwarded to 192.168.1.4.
     
    thestew42, Oct 19, 2009 IP
  12. tjabaut

    tjabaut Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    So is it currently working??

    What is the actual Internet IP.
     
    tjabaut, Oct 19, 2009 IP
  13. thestew42

    thestew42 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    128.61.67.63

    and yes it is working... just still not sure why I couldn't open port 80 but I guess it doesn't matter. Thanks everyone
     
    thestew42, Oct 19, 2009 IP
  14. tjabaut

    tjabaut Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    IIS is the Web Server component. Without that you did not have an actual application server running.
     
    tjabaut, Oct 19, 2009 IP
  15. fhahnel

    fhahnel Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I'm doing the same on a computer. I had to install a DNS updater (I'm using DNSexit) to make the IP address available on the internet. I bought a domain name and have the IP address mapped to the domain name. Also be sure the previous advice of opening ports on the router and PC. I map mine to 8080
     
    fhahnel, Oct 26, 2009 IP