Author |
|
Mungbeans
Joined: 11 Aug 2006 Posts: 10 Location: Sydney, Australia
|
Posted: Sat 02 Sep '06 6:56 Post subject: Make_sock could not bind to address |
|
|
In the last few days my Apache server on my development machine is not starting up. I get the error message:
Code: |
<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
Note the errors or messages, above, and press the <esc> key to exit.
|
I haven't installed anything new so I don't know what program is hogging port 80. How do I find out what is happening with the ports? |
|
Back to top |
|
Mungbeans
Joined: 11 Aug 2006 Posts: 10 Location: Sydney, Australia
|
Posted: Sat 02 Sep '06 7:08 Post subject: |
|
|
I discovered Skype was the culprit. Its strange that this problem has only just shown up, because I've been running them together for weeks. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 02 Sep '06 12:34 Post subject: |
|
|
If you start Apache first, skype uses a different port |
|
Back to top |
|
Mungbeans
Joined: 11 Aug 2006 Posts: 10 Location: Sydney, Australia
|
Posted: Sun 03 Sep '06 2:45 Post subject: |
|
|
Ah, now that would be useful.
How do you check the order of your startup items in XP? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 03 Sep '06 12:09 Post subject: |
|
|
You can't order the startup. That is some of the miracles of Windows start skype by hand. or change the Port for skype in the skype config |
|
Back to top |
|
MikeyTai
Joined: 24 Sep 2006 Posts: 1
|
Posted: Sun 24 Sep '06 8:42 Post subject: |
|
|
I'm having the same error message. How do I find out which programs are using port 80? |
|
Back to top |
|
ali_fareed
Joined: 04 Jul 2006 Posts: 61 Location: Bahrain
|
Posted: Sun 24 Sep '06 9:10 Post subject: |
|
|
just use netstat like this then check which application is using the port |
|
Back to top |
|
crazeeboar
Joined: 01 Aug 2007 Posts: 4
|
Posted: Wed 01 Aug '07 11:57 Post subject: |
|
|
Hi there..I also get this problem..even when I have no connection to the net.
I have 4 pcs running on a network.."server", intel", "compac", "laptop"...each configured with their own ip addresses.
I installed apache on the "server" pc without a problem and can connect to the "server" with all my pc's. Everything runs smoothly, apache, mysql, file server, php...etc
I then installed apache on "intel" pc, everything works except apache and I get the error mention ie "could not bind to address 0.0.0.0:80
I tried your "netstat -ab and nothing is using port 80, yet apache will not run...any other assistance will be appreciated..thanx |
|
Back to top |
|
crazeeboar
Joined: 01 Aug 2007 Posts: 4
|
Posted: Wed 01 Aug '07 12:41 Post subject: |
|
|
Never mind boys and gals..I found the problem....so just for interest sake...I had originally installed "windows iis to run asp...I had never removed it completely before installing Apache....
After removal of iss and rebooting, apache runs fine... |
|
Back to top |
|
kassit
Joined: 29 Feb 2008 Posts: 3 Location: Iran
|
Posted: Fri 29 Feb '08 19:36 Post subject: |
|
|
I've removed IIS but the error occured again:?: |
|
Back to top |
|
kassit
Joined: 29 Feb 2008 Posts: 3 Location: Iran
|
Posted: Fri 29 Feb '08 19:41 Post subject: |
|
|
What the strange ? i used netstat and no program was listening to port:80
of course Skye was installed but listening to another port.
in spite of this when i closed Skype , The problem solved
|
|
Back to top |
|
STALKER
Joined: 08 Apr 2008 Posts: 5
|
Posted: Tue 08 Apr '08 7:05 Post subject: |
|
|
Hi All
Please help me.. I cant start apache.. I bad know english, i from Russia.
Friends, brothers please help me.. Ho speak Russian?
Ошибка та же о которой вы говорите, у меня свободен порт 80.
httpd.conf смотрел, там все ОК.
Отзовитесь пожалуйста Сервер не работает. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
messnervan
Joined: 07 Dec 2008 Posts: 1
|
Posted: Sun 07 Dec '08 17:44 Post subject: |
|
|
When Skype installs it picks a port with a high number such as 12754 for its own use. BUT is also picks some backup ports - one of which is port 80. This causes the conflict with Apache. Drill down to Skype's advanced tab and tell it not to use port 80. |
|
Back to top |
|
mahameroe
Joined: 05 Sep 2009 Posts: 1 Location: Jakarta Indonesia
|
Posted: Sat 05 Sep '09 3:24 Post subject: could not bind to address 0.0.0.0:80 |
|
|
Hi there... I have the same experience, got that error message. I've done uninstall skype, stop IIS but still having the same problem. Could somebody help me please....
Thanks in advance |
|
Back to top |
|
doremon
Joined: 25 Aug 2010 Posts: 1
|
Posted: Wed 25 Aug '10 11:27 Post subject: |
|
|
James Blond wrote: | If you start Apache first, skype uses a different port |
-it's create. you save mylife. Thanks alot, i love you |
|
Back to top |
|
dinesh
Joined: 20 Oct 2010 Posts: 1
|
Posted: Wed 20 Oct '10 13:18 Post subject: very good solution. i spend whole day to fixed this error .. |
|
|
James Blond wrote: | If you start Apache first, skype uses a different port |
|
|
Back to top |
|
borntolive1
Joined: 17 Dec 2010 Posts: 1
|
Posted: Fri 17 Dec '10 16:38 Post subject: |
|
|
if you are an active Skype user you may need to save your calls(including videos) in variuos formats.
I have a solution which fully support this useful needs.
http://www.imcapture.com/IMCapture_for_Skype/ |
|
Back to top |
|
Nascent
Joined: 21 Jun 2011 Posts: 1
|
Posted: Tue 21 Jun '11 11:22 Post subject: Apache Port Issue |
|
|
Hi guyz
I found the same problem in ma apache
(9)Bad file descriptor: make_sock: could not bind to port 80
You have to do is just go to your apache directory where you installed it.
under the apache goto conf and open httpd with notepad
and find port
define custom port for example 6600
and restart the apache service. done this will work
below is the part of httpd.
"Port: The port to which the standalone server listens. Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port. Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 6600
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents.
#
ServerAdmin ztech@ztech" |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Jun '11 11:53 Post subject: Re: Apache Port Issue |
|
|
Nascent wrote: |
define custom port for example 6600
and restart the apache service. done this will work
Port 6600
|
Well but than you will always have to add port 6600 to your url in the browser. |
|
Back to top |
|