Apache not recognising http://localhost from browser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bizt

    Apache not recognising http://localhost from browser

    Hi,

    I have been using a local installment of Apache web server and PHP on
    my computer. For some reason it has stopped loading my local web pages
    when I enter 'http://localhost' into the browser address bar. For IE it
    displays a page not found and Netscape, it redirects me to Netscape
    search where it does a search for 'localhost'. I cant understand why it
    has been working and all of a sudden just stopped but is there anyway
    to fix this in configuration? My knowledge of apache isnt the best so
    any advice would be much appreciated.

    Thanks

    Burnsy

  • Gordon Burditt

    #2
    Re: Apache not recognising http://localhost from browser

    >I have been using a local installment of Apache web server and PHP on[color=blue]
    >my computer. For some reason it has stopped loading my local web pages
    >when I enter 'http://localhost' into the browser address bar. For IE it
    >displays a page not found and Netscape, it redirects me to Netscape
    >search where it does a search for 'localhost'. I cant understand why it
    >has been working and all of a sudden just stopped but is there anyway
    >to fix this in configuration? My knowledge of apache isnt the best so
    >any advice would be much appreciated.[/color]

    Can you "telnet localhost 80"? If it can't find an IP address, it
    might be a DNS problem.
    Can you "telnet 127.0.0.1 80"? If this works but the above doesn't,
    it's probably a DNS problem. If you get "connection refused", is
    Apache really running?

    Have you been doing something recently with the "hosts" file?

    Gordon L. Burditt

    Comment

    • bizt

      #3
      Re: Apache not recognising http://localhost from browser

      Hmm,

      Now it works. I have recently uninstalled my expired version of Norton
      Security and that may have been affecting it. What do you think?

      Burnsy

      Comment

      • Alvaro G. Vicario

        #4
        Re: Apache not recognising http://localhost from browser

        *** bizt escribió/wrote (20 Nov 2005 03:25:32 -0800):[color=blue]
        > Now it works. I have recently uninstalled my expired version of Norton
        > Security and that may have been affecting it. What do you think?[/color]

        It's possible. I've seen too many cases of securities suites just
        preventing normal web browsing.


        --
        -+ Álvaro G. Vicario - Burgos, Spain
        ++ http://bits.demogracia.com es mi sitio para programadores web
        +- http://www.demogracia.com es mi web de humor libre de cloro
        --

        Comment

        Working...