Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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

Ask Question

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

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:

  • Remote hosts and RMI configuration
  • Configuring JMeter
  • How to Perform Distributed Testing in JMeter
  • Thanks for your sharing, I have fixed the issue. I have opened the port in the system firewall and config localport in jmeter.properties. It worked Thanh_Binh Feb 14 at 3:39

    Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question . Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers .