You are here: Re: Apache not recognising http://localhost from browser « PHP Programming Language « IT news, forums, messages
Re: Apache not recognising http://localhost from browser

Posted by Gordon Burditt on 11/16/06 11:32

>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.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация