【问题标题】:Can mmonit be run on a port other than 8080?mmonit 可以在 8080 以外的端口上运行吗?
【发布时间】:2016-01-15 03:17:40
【问题描述】:

我在 8080 端口上运行了另一个服务 phpmyadmin。所以当我启动 mmoni 时,它没有启动,并且在错误日志中给出了这个错误:

Creating a serversocket at port 8080 -- Address already in use raised in ServerSocket_new at src/net/ServerSocket.c:58

是否可以在其他端口运行 mmoni?

【问题讨论】:

    标签: monit


    【解决方案1】:

    在您的 mmoni 配置文件中包含这样的一行。那里应该已经有了,只需更改端口号即可:

    <Connector address="xxx.xxx.xxx.xxx" port="8081" processors="10" />
    

    【讨论】:

      【解决方案2】:

      是的,您可以在另一个端口上运行 mmoni。在位于此处conf/server.xml 的 mmoni 配置文件中,您可以像这样更改端口(以侦听 8880)

      <Connector address="*" port="8880" processors="10" />
      

      然后重启mmonit

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-08-17
        • 2012-02-12
        • 2021-09-06
        • 2023-03-28
        • 1970-01-01
        • 2011-04-03
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多