You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSO2 Integration Studio中HTTPS Listener异常:端口9164被占用求助

解决WSO2 Composite Exporter端口9164占用问题

问题描述

FATAL {PassThroughListeningIOReactorManager} - Exception encountered in the HTTPS Listener. No more connections will be accepted by this transport org.apache.http.nio.reactor.IOReactorException: Failure binding socket to address 0.0.0.0/0.0.0.0:9164

Caused by: java.net.BindException: Address already in use: bind

解决方案

1. 终止占用端口的进程

  • Windows系统:
    1. 打开命令提示符,执行:netstat -ano | findstr :9164
    2. 找到输出中最后一列的PID(进程ID)
    3. 打开任务管理器,找到对应PID的进程并结束它
  • Linux/macOS系统:
    1. 打开终端,执行:lsof -i :9164 或 netstat -tulpn | grep 9164
    2. 获取占用端口的进程PID
    3. 执行:kill -9 <PID> 强制终止进程

2. 修改Composite Exporter端口配置

找到Composite Exporter的deployment.toml配置文件,修改HTTPS监听端口:

  1. 定位到类似如下配置项:
    [transport.https.properties]
    port = 9164
    
  2. 将9164替换为未被占用的端口(比如9165)
  3. 保存配置文件,重启Composite Exporter服务

3. 验证端口可用性

重启前可以用以下命令验证新端口是否可用:

  • Windows:netstat -ano | findstr :<新端口号>
  • Linux/macOS:lsof -i :<新端口号>

内容的提问来源于stack exchange,提问作者user21348790

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.27 02:45:15