Jump to content

Newbie: can't get "localhost" to work


dotolee

Recommended Posts

So i started to follow some step by step configuration tutorial online and i managed to mess things up.

now when i navigate to "http://localhost" it doesn't display my treasured "it works" message. (so sad)

The error message I'm getting is that I'm not authorized to view the page.  As a test, i tried using 127.0.0.1 instead but I get the same message.

 

When I run httpd.exe, this is the output i get:

 

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd

Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.phub.net.cable.rogers.com] does not exist

Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host2.phub.net.cable.rogers.com] does not exist

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

[Wed Apr 30 08:52:43 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence

[Wed Apr 30 08:52:43 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address 0.0.0.0

:80

no listening sockets available, shutting down

Unable to open logs

 

When I initially installed apache, it detected my ISP provider (rogers) and my IP settings etc and I just accepted all defaults.  I don't really need to connect directly from my box to the LIVE production URL ...

I just need localhost to work.

What I'm trying to accomplish is the following:

create a development environment on my box where i can create HTML / PHP files with server side includes.  Once the site is working, i will manually copy the files over to a server that has already been set up for me by the IT folks in the office. 

Thanks for the help.

Link to comment
https://forums.phpfreaks.com/topic/103863-newbie-cant-get-localhost-to-work/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.