您的位置:首页 > 其它

修复错误1004,10005, IIS站点端口被其他程序使用

2009-03-26 23:29 204 查看
Event Type: Error

错误信息:

=================================

Event Source: W3SVC

Event Category: None

Event ID: 1004

Description:

Cannot register the URL prefix 'http://*:<Port>/_layouts/images/' for site '<Site ID>'. The site has been deactivated. The data field contains the error number.

Event Type: Error

Event Source: HTTP

Event Category: None

Event ID: 15005

Description:

Unable to bind to the underlying transport for 0.0.0.0:<Port>. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.

===================================

症状: 打不开站点, 因为IIS站点被停掉了,强行启动会报错,然后就是以上的错误被记录在错误日志里面.

解决方法:使用netstat -ano命令查看是哪个进程在监听IIS站点端口,在任务管理器中关掉.启动站点就好了.

备注: 如果你不幸发现是一个系统进程占用了端口, 就只有把那个web application换个端口了 (惹不起还躲不起么)

具体步骤就是先un-extend web application 然后再 extend web application 另外一个端口, 步骤参见:

Update a Web application URL and IIS bindings

http://technet.microsoft.com/en-us/library/cc298636.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐