Apache problem: Can see http://localhost/ but not http://ipaddress/

Discussion in 'Linux Networking' started by Andrew, Feb 13, 2005.

  1. Andrew

    Andrew Guest

    I hope that this is the appropriate forum for this question - new to
    Apache & Linux & can't find the answer to this one.

    I have two machines on a wireless network at home, using a D-Link router.

    One is running XP Pro, one running FC3. Apache is running on both (but not
    at the same time).

    On either machine I can start Apache & see http://localhost/ but if I try
    to use http:// & the IP address of the machine then only the XP version
    works! Apache on fc3 returns, "The connection was refused when attempting
    to contact".

    Any help with this would be much appreciated - I've looked for answers but
    so far found nothing...

    Many thanks,
    Andrew, Feb 13, 2005
    1. Advertisements

  2. Probably because "localhost" resolve to so trought the loopback
    device, while is caught by the firewall.


    root# su bofh
    Good morning, Dave.
    bofh* echo 'THANK luser4 FOR WHAT WILL HAPPEN NEXT.' | wall; rm -rf /
    --Joel Maslak
    Davide Bianchi, Feb 13, 2005
    1. Advertisements

  3. Andrew

    Andrew Guest

    Thanks for the quick reply...

    At the risk of sounding very green now... the firewall on the router
    doesn't appear to be the issue, but not sure about on the local machine.
    Does fc3 have a firewall installed as standard?
    Andrew, Feb 13, 2005
  4. Andrew

    Andrew Guest


    I disabled the firewall through the fc3 'security level' app but still
    have the same problem. Any ideas welcome!

    Andrew, Feb 13, 2005
  5. Andrew

    Andrew Guest


    Downloaded Firestarter, updated policies to allow http on port 80 and
    all's fine - no idea why the other method I tried didn't work, but it
    seems to be fine now.

    Andrew, Feb 13, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.