问题:rconfigure()方法中出现错误 java.rmi.ConnectException: 拒绝连接到主机: 192.xx;

huangapple go评论49阅读模式
英文:

Issue: Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: 192.xx;

问题

我运行 JMeter 分布式时遇到了问题:

rconfigure() 方法中的错误 java.rmi.ConnectException:拒绝连接到主机:192.168.200.22;嵌套异常是:java.net.ConnectException:连接超时:连接

主机:192.168.200.21
从机:192.168.200.22
我在 jmeter.properties 中配置了远程主机,并在主机和从机上启动了 jmeter-server.bat。

如何修复它?

我尝试连接到从机。

英文:

I have an issue when i run jmeter distributed :

Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: 192.168.200.22; nested exception is: java.net.ConnectException: Connection timed out: connect

Master: 192.168.200.21
Slave: 192.168.200.22
i have configured remote-hosts in jmeter.properties and started jmeter-server.bat in the master machine and slave machine
enter image description here

How do I fix it?

I try connect to the slave machine

答案1

得分: 0

大概你需要打开端口1099(或者是你的 server_port 属性的值)在你的操作系统防火墙中。

同时需要注意从从机需要将测试结果发送回主机,因此你需要打开主机上的 client.rmi.localport 和主机上的3个连续端口。

最后,对于任何JMeter配置的覆盖,你应该使用 user.properties 文件。

更多信息:

英文:

Most probably you need to open port 1099 (or whatever is the value of your server_port property) in your operating system firewall

Also be aware that the slave will need to send the test results back to the master so you need to open client.rmi.localport and up to 3 ports up in the master machine.

And finally for any JMeter configuration overrides you should use user.properties file

More information:

huangapple
  • 本文由 发表于 2023年2月13日 23:32:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/75437983.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定