解决Jmeter插件ERROR: java.io.IOException: Agent is unreachable via TCP的错误

在使用JMeter PerfMon Metrics collector插件收集收据的时候,收集不到数据同时报如下错误:

1
ERROR: java.io.IOException: Agent is unreachable via TCP

或者

1
ERROR: java.io.IOException: Agent is unreachable via UDP

 

这是用于默认的端口4444被占用,更换其他端口即可;例如将指定TCP为3401,UDP指定为3401

1
./startAgent.sh --tcp-port 3401 --udp-port 3402 --sysinfo
posted on 2017-03-24 12:10  清明-心若淡定  阅读(5939)  评论(0编辑  收藏  举报