Tomcat 80 端口被占,解决方案

Windows 平台下Tomcat启动不起,显示

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] java.net.BindException: Permission denied <null>:80

通常由两种情况引起

  1. IIS
  2. System

如果关闭IIS仍未解决那么一定是后一种原因,cmd下使用命令查看所有占用端口进程

netstat -ano

会发现一个PID为4的进程占用了80端口  

 

这种情况下需要关闭HTTP.sys driver

安全的做法是 “设备管理” -> "查看" ->"显示隐藏设备"->HTTP 属性中 "停止"

 

重启Tomcat,一切搞定

 

posted @ 2013-09-10 08:26  Mr 88  阅读(1083)  评论(0编辑  收藏  举报