Search code examples
jmeterdistributed

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


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


Solution

  • 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: