Apache work on port 80 by default and https work on 443. If you are running some applications which are using these ports already, then apache will give error and will not start..
1 2 3 |
(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 |
1 2 3 |
(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 |
Just open
1 |
C:\xampp\apache\conf\httpd.conf |
And find
1 2 3 4 |
#Listen 0.0.0.0:80 #Listen [::]:80 Listen 80 |
And change to
1 |
Listen 85 |
Then open
1 |
C:\xampp\apache\conf\extra\httpd-ssl.conf |
Find
1 2 3 4 |
#Listen 0.0.0.0:443 #Listen [::]:443 Listen 443 |
Change to
1 |
Listen 4443 |
Try to start apache now, it should work fine.
p.s. It is not necessary to use port 85 and 4443, you can use any port for them as you want
why not use wamp instead of xamp?
I like Xampp because of its extra p,,
it install perl with php, and has php4 and php5 boths 😉
Interesting article. The article took a lot of thought, which
makes reading it more interesting. I may return and take a look at what
else you have to write.
Awesome, Changing config file starts apache service without any problem.
Thanks dude.
helped a lot 🙂
thanks!
just download this free tool CurrPorts . it tell you which application using this your 443 port or whatever it is. and you just stop t he process.
second thing is if it show you the port is busy then go task manager and go to process and see the port number and the process which holds the port .just stop process and its done .its applicable in case of error: os 10048
now enjoy !!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
are you running skype when you get this error?
great stuff