(OS 10048)Only one usage of each socket address

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

(OS 10048)Only one usage of each socket address

Post by hawleyjr »

I've been getting this error when running apache. I did an search which led me to try the following. Anyone have any ideas how to get past this?

Code: Select all

F:\Program Files\xampp\apache\bin>apache
(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:443
no listening sockets available, shutting down
Unable to open logs
What I've tried:

1. Modified ssl.default.conf
a. changed Listen 443 to Listen 4430 <-No Luck
b. I commented out the the following line to see if I could pass the error ( I don't need SSL) #LoadModule ssl_module modules/mod_ssl.so

By commenting out the line, all it did was produce the second error (Below)

1. Modified httpd.conf
a. changed Listen 80 to Listen 8080 <- No luck

Code: Select all

F:\Program Files\xampp\apache\bin>apache
(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:8080
no listening sockets available, shutting down
Unable to open logs

Win XP
No firwall no IIS
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Try installing without Xampp?

Apache comes in an MSI Windows Installer flavour that install in 2 minutes, and runs straight away. If that goes wrong check if any programs are utilising those ports already. netsta or similar on XP does that. This won't do any fancy Apache configuration - you'll need to manually edit httpd.conf to add PHP support as per the almight PHP manual.

If a default install fails - there must be something using/blocking those ports... IIS installed?
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Maugrim_The_Reaper wrote:Try installing without Xampp?
Not really what I want to do. Everything is setup PHP/Mysql/apache. No, I don't have IIS installed and I've checked to see if the port is being used by another program.

Anyone else?
briler
Forum Newbie
Posts: 1
Joined: Sat Aug 22, 2009 11:18 am

Re: (OS 10048)Only one usage of each socket address

Post by briler »

Hi,

if it still interest anyone..
i got the same problem, the cause is the SKYPE program that holds port 80.

you should disable it from listening on this port on SKYPE/Option.
or simply shut it down.

now , try agian installing/running apache server - it should work now
Post Reply