【问题标题】:IIS and Glassfish in Windows 7Windows 7 中的 IIS 和 Glassfish
【发布时间】: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 然后报告回来。

标签: iis windows-7 glassfish


【解决方案1】:

这原来是我的虚拟机的问题。一个新的副本解决了这个问题。

【讨论】:

    【解决方案2】:

    这是因为您选择了 iis 和 glashfish 使用的相同端口号,我建议您将两者中的任何一个配置为使用不同的端口号。

    【讨论】:

    • 请向用户解释投反对票的原因。
    猜你喜欢
    • 1970-01-01
    • 2012-04-13
    • 1970-01-01
    • 1970-01-01
    • 2017-06-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多