【发布时间】:2010-11-29 13:53:29
【问题描述】:
我安装了最新版本的 Windows 7。
这是我的开发箱,所以我安装了 glassfish,用于 Java 应用程序。另外,我使用 IIS 来运行 PHP 应用程序。我在端口 80 上运行两台服务器,但从不同时运行。
但是,由于我设置了 IIS,我无法让 glassfish 运行。在eclipse中,总是报如下错误:
Port conflict: Please stop the server process using the same port as the one used by the Application Server.
A server process is already running on this port but we cannot determine if it's a GlassFish process (lack of info or credentials).If you do not find something else running on this port, check for antivirus software blocking or monitoring this port.
编辑:我尝试关闭 IIS,甚至关闭了 IIS 功能。还是没有运气。
我还运行了 netstat,glassfish 使用的端口显示以下内容:
Proto Local Address Foreign Address State
TCP 0.0.0.0:80 NBSDTVL01574:0 LISTENING
TCP [::]:80 NBSDTVL01574:0 LISTENING
谢谢
【问题讨论】:
-
运行“netstat -a -b”查看哪个进程正在监听 0.0.0.0:80 和 [::]:80 然后报告回来。