【问题标题】:Can't run tomcat on port 80 on windows 7无法在 Windows 7 上的端口 80 上运行 tomcat
【发布时间】:2012-07-01 05:13:25
【问题描述】:

我想将 tomcat 7 配置为在 windows 7 上使用端口 80,但似乎这个端口正在被另一个进程使用,并且想知道如何解决这个问题而不给系统造成任何问题?

这是我得到的错误:

Port 80 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

【问题讨论】:

  • 哪个进程阻塞了 80 端口? AFAIK 默认情况下它不会被阻止...
  • @home,我不知道,怎么知道?

标签: eclipse tomcat windows-7 tomcat7


【解决方案1】:

在 cmd 中运行 netstat -ao ,你会得到端口在使用中的 PID。

然后签入taskmgr,按PID排序,找到阻塞p80的程序。

作为个人说明:我打赌你已经启动并运行了 Skype,它喜欢阻塞端口 80

【讨论】:

    【解决方案2】:

    根据经验,Skype 通常会阻止端口。希望对您有所帮助。

    netstat -an |find /i "established" 在这种情况下可以帮助您

    【讨论】:

    • 很抱歉 Skype 通常会阻止 8080,但值得一试
    猜你喜欢
    • 2015-02-24
    • 2015-08-25
    • 2021-06-05
    • 2019-03-01
    • 2011-11-13
    • 2013-10-02
    • 1970-01-01
    • 2017-12-25
    • 1970-01-01
    相关资源
    最近更新 更多