Results 1 to 10 of 10

Thread: Apache...?

  1. #1
    #eoff Flayer Mindflare's Avatar
    Join Date
    Mar 2001
    Location
    Pittsburgh, PA
    Posts
    719

    Default Apache...?

    <BircGuest-59102936> How can an Apache webserver work internally, have port 80 open, and still not work externally?

    It's running Fedora Core 4, and this same installation worked from another internet connection, using pretty much default settings. I moved internet connections and it all works internally, but won't show up externally using my IP. Port 80 is properly forwarded.

    Edit: There are no firewalls enabled other than the one in the router itself, and as I mentioned before, the port is forwarded to where it should work.

    Thanks for any help in advance.
    --It's me!--

  2. #2

    Default

    Define externally? From another computer over the web, or another computer on your network.

    If its over the web its because the router holds your IP address and -routes it - to other computers, dividing the single Ip adress, to the network.

    If you are connecting, try putting in the routers ip address. You can get this easily by going to http://www.whatismyip.com

    Let me know if this works

    Bipper

  3. #3
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    Make sure that XP's firewall didn't sneak up on you. Also, did you try using a port different than 80?
    Edit: check that your ISP doesn't block inbound traffic on port 80.

    And then there is Death

  4. #4
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    Or any other firewall, since you're on Fedora As Raf said, try another port (preferably a high numbered one), since some ISPs like to silently block common server port numbers
    Problems playing downloaded videos? Try CCCP


  5. #5
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    *slaps forehead*

    On Mandrake, I'd know where to look, on FC(4), I'm not. http://stanton-finley.net/fedora_cor...notes.html#Web maybe?

    Also double check iptables' settings.

    And then there is Death

  6. #6
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    First check:

    http://www.canyouseeme.org/

    Type in port 80 from your server and make sure the outside world actually can see you through port 80.

    Next, make sure apache is running. At the command prompt, typing <b>ps x | grep httpd</b> should return a line with "httpd" and a PID if apache is running. If it doesn't return anything, then apache is not running.

    If both of those tests pass, but you still can't request pages from the outside, check your httpd.conf file and make sure apache is listening to the correct port/IP and the that your webroot has the correct file permissions.

  7. #7
    #eoff Flayer Mindflare's Avatar
    Join Date
    Mar 2001
    Location
    Pittsburgh, PA
    Posts
    719

    Default

    I know my IP is right. There are no local firewalls on (XP or Fedora). I've got pretty good reason to believe that my ISP, Comcast, doesn't block port 80, since I've hosted on them before (no more than a month ago, too). No matter what port I use, it doesn't work. Apache is set to listen on port 80. Apache works properly, as I can see it internally, from all computers on this network. Just not from outside, over the web.

    I'm about to give up, I'm stumped, and I guess the situation is a bit complicated.
    --It's me!--

  8. #8
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    It's your firewall/router. It's likely set to block WAN requests to your server on port 80. If everything else works, that's basically all that can be wrong.

  9. #9
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    Quote Originally Posted by Mindflare
    I know my IP is right. There are no local firewalls on (XP or Fedora). I've got pretty good reason to believe that my ISP, Comcast, doesn't block port 80, since I've hosted on them before (no more than a month ago, too). No matter what port I use, it doesn't work. Apache is set to listen on port 80. Apache works properly, as I can see it internally, from all computers on this network. Just not from outside, over the web.

    I'm about to give up, I'm stumped, and I guess the situation is a bit complicated.
    I'm pretty sure that iptables is installed by default on pretty much any linux distro. Check that it allows non local IPs to connect.
    Aslo, when you hosted a month ago, was it with the router in place?

    And then there is Death

  10. #10

    Default

    When you connect from outside, make sure you are using your modems ip address. If you connect internally using 192.168.254.254 or somesuch, thats great; but its an address that will only work on your network. What you will need to do is dial into your modems ip, which will look at your router and get routed to the right computer.

    check that whatismyip.com just to be quick and easy.

    Bipper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •