2

I have installed Apache 2.x.x. But right now I have uninstalled it from my pc. I try to install XAMPP, but the apache could not installed correctly.

Error: Could not bind to address 0.0.0.0:443

aslingga
  • 123
  • 1
  • 1
  • 5
  • 1
    You have something running on the pot 443 - to see what issue the command `netstat -lanp` and look for what local address '0.0.0.0:443'. The last field tells what program is bound to the port. – Kimvais Feb 01 '10 at 10:15

3 Answers3

4

It appears another process is bound to tcp port 443. You can either change the configuration for that process to use a different port or change your Apache config to use something other than 443.

To find which process is using port 443, you can use lsof -i :443

To change the port that Apache uses, edit your conf/extra/httpd-ssl.conf file. Change any instances of "443" to "8443" (or whichever available port you prefer)

micah
  • 974
  • 6
  • 11
0

Did you start your service as root ? 443 port is before 1024, so it is reserved to root user. Check if something run on 443 port, with netstat -pntl | grep 443 (with root user)

Dom
  • 6,743
  • 1
  • 20
  • 24
0

Try changing your address from 0.0.0.0 to 127.0.0.1

darkAsPitch
  • 1,931
  • 4
  • 25
  • 42