(OS 10048)通常只允许每个套接字地址(协议/网络地址/端口)使用一种.Windows Apache [英] (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. Windows apache

查看:83
本文介绍了(OS 10048)通常只允许每个套接字地址(协议/网络地址/端口)使用一种.Windows Apache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试在Windows服务器上执行httpd.exe时,出现此错误:

When trying to execute httpd.exe on my windows server, I get this error:

(OS 10048)通常,每个套接字地址(协议/网络地址/端口)仅允许使用一种.:AH00072:make_sock:无法绑定到地址(myIpAddress):80

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address (myIpAddress):80

AH00451:没有可用的侦听套接字,正在关闭

AH00451: no listening sockets available, shutting down

AH00015:无法打开日志

AH00015: Unable to open logs

仅当在我设置的httpd.conf中时,这种情况才会发生:

This only happens when in the httpd.conf I set:

收听(myIPAddress):80

Listening (myIPAddress):80

但是将其设置为:我没有收到此错误

but the I don't get this error when it's set to:

听80

推荐答案

确认是否有其他进程正在监听端口80.

Confirm if some other process is already listening to Port 80.

netstat -aon | findstr :80

由于它是Windows服务器,因此默认情况下有机会运行IIS.

Since it is windows server there are chances to have IIS running by default.

您将必须从IIS管理器中停止与端口80绑定的网站,然后再次运行httpd.exe.

You will have to stop the website binded with port 80 from IIS Manager and then run httpd.exe again.

这篇关于(OS 10048)通常只允许每个套接字地址(协议/网络地址/端口)使用一种.Windows Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆