基于Linux的EC2
机器(正在运行OS:Centos 7),并且安装了与JMeter 4.0和Java完全相同的版本。没有活动的防火墙,所有设备都连接在同一子网中,我可以轻松地在它们之间ping通。问题是当我尝试配置母机并将其连接到我的一个从机时,我一直收到此异常Connection refused to host: xx.yy.zz.4; nested exception is:
java.net.ConnectException: Connection timed out (Connection timed out)
Failed to configure xx.yy.zz.4
Stopping remote engines
Remote engines have been stopped
Error in NonGUIDriver java.lang.RuntimeException: Following remote engines could not be configured:[xx.yy.zz.4]
我已经按照以下步骤设置了我的slave(ip:xx.yy.zz.4):server_port = 24000 , server.rmi.localport=26000 , server.rmi.ssl.disable=true
,没有远程主机,我通常使用此shell命令启动服务器:
./jmeter-server -n -Djava.rmi.server.hostname=xx.yy.zz.4
并且对于也是另一个EC2实例的主服务器(ip:xx.yy.zz.21),我进行了以下配置:
remote_hosts=xx.yy.zz.4:24000 , client.rmi.localport=25000, server.rmi.ssl.disable=true
并且我使用此shell命令启动我的JMeter的测试计划 ./jmeter -n -Rxx.yy.zz.4 -t /home/centos/jmeter/scripts/demo.jmx -Djava.rmi.server.hostname=xx.yy.zz.21
关于什么可能导致这些错误的任何想法?
我已保留了许多基于Linux的EC2机器(正在运行OS:Centos 7),并且安装了与JMeter 4.0和Java完全相同的版本。没有活动的防火墙,所有设备都已连接...