Apache Error

来源:百度文库 编辑:神马文学网 时间:2024/04/28 16:06:40

1.      Could not bind to address 0.0.0.0:80

Error:

(OS 10048) only one usageof each socket address (protocol/network address/port) is normallypermitted.  : make_sock: could not bindto address 0.0.0.0:80

Reason:

The port 80 is being usedby other program.

Solution:

Use command ‘netstat -anb’to find which program is using this port, and end up it. If this port is usedby window system, then go to (My Computer/Management/Services andApplications/Internet Information Services/Web Sites/Default Web Sit) to changethe TCP port to other value.

2.      Apache service is not installed.

Error:

No installedService named "Apache2"

Reason:

Apache service is not installed.

Solution:

openStart->Run…, input command ‘cmd’and press OK button to open cmd.exe. then goto apache2/bin, and use command ‘apache -k install’to install Apacheservice.