You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Br...@ed.ac.uk on 2003/11/04 00:38:52 UTC

[users@httpd] can't access http://localhost/

Hi there,
I tried installing Apache 2.0.43 under XP for all users on port 80 but got the
following message:

(730048)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 

As the message says I am unable to open the error.log file to see what has
happened. I then uninstalled and reinstalled for a single user on port 8080. Now
apache seems to start OK but when I type in http://localhost/ I get a
'connection refused when attempting to connect to localhost' error. Again I
can't open the error.log file to see what's going on. 

Anyone seen this before?

thanks
Bruce
-- 

             ################################################
             # Bruce Lamond                                 #
             # Edinburgh Virtual Environment Centre (EdVEC) #
             # University of Edinburgh                      #
             # JCMB room 2403                               #
             # The Kings Buildings                          #
             # West Mains Road                              #
             # Edinburgh EH9 3JZ                            # 
             # UK                                           #
             # www.edvec.ed.ac.uk                           #
             # Tel. (00 44 )/(0) 131 650 4981               #
             ################################################

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] can't access http://localhost/

Posted by "David M. Wilson" <to...@cox-internet.com>.
I'd say there's another program using port 80, and since only one
may use each port at any given time, Apache just gives up in that
situation.  Since you're on XP perhaps the easiest way to find
out which program is doing this is to download TCPView from
http://www.sysinternals.com/ntw2k/source/tcpview.shtml


As for the second problem, when you changed to port 8080:

The http part in http://localhost implies port 80.
Since you're using a different port you must tell the browser
where to go, like this:

http://localhost:8080


HTH,

-
David M. Wilson
toolfan@cox-internet.com

> -----Original Message-----
> From: Bruce.Lamond@ed.ac.uk [mailto:Bruce.Lamond@ed.ac.uk]
> Sent: Monday, November 03, 2003 5:39 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] can't access http://localhost/
>
>
> Hi there,
> I tried installing Apache 2.0.43 under XP for all users on port
> 80 but got the
> following message:
>
> (730048)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
>
> As the message says I am unable to open the error.log file to see what has
> happened. I then uninstalled and reinstalled for a single user on
> port 8080. Now
> apache seems to start OK but when I type in http://localhost/ I get a
> 'connection refused when attempting to connect to localhost'
> error. Again I
> can't open the error.log file to see what's going on.
>
> Anyone seen this before?
>
> thanks
> Bruce
> --
>
>              ################################################
>              # Bruce Lamond                                 #
>              # Edinburgh Virtual Environment Centre (EdVEC) #
>              # University of Edinburgh                      #
>              # JCMB room 2403                               #
>              # The Kings Buildings                          #
>              # West Mains Road                              #
>              # Edinburgh EH9 3JZ                            #
>              # UK                                           #
>              # www.edvec.ed.ac.uk                           #
>              # Tel. (00 44 )/(0) 131 650 4981               #
>              ################################################
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org