Error starting Apache in XAMPP | MyLiteratureTechLife.COM

Error starting Apache in XAMPP

September 19th, 2010 7 Comments






















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..

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

C:\xampp\apache\conf\httpd.conf

And find

#Listen 0.0.0.0:80
 
#Listen [::]:80
Listen 80

And change to

Listen 85

Then open

C:\xampp\apache\conf\extra\httpd-ssl.conf

Find

#Listen 0.0.0.0:443
 
#Listen [::]:443
Listen 443

Change to

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

Related posts:

  1. Customize your default apache page in cpanel
  2. Easy way to optimize apache,php & MySQL
  3. Solution: ERROR: Unable to install the “psa-backup-manager-9.5.2-cos5.build95100504.12.i586″ package.
  4. How to secure SSH in your server ?
 

If You Like This Post, Share it With Your Friends & Peers

Digg
stumbleupon
Delicious
facebook
twitter
reddit
rss feed bookmar
 

7 Comments to “Error starting Apache in XAMPP”

  1. Omer Zia says:

    why not use wamp instead of xamp?

  2. 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.

  3. ll12_u says:

    Awesome, Changing config file starts apache service without any problem.

    Thanks dude.

  4. srinivas says:

    helped a lot :)
    thanks!

  5. 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

Leave your comment here:

*

Alexa Rank