Reputation: 47
I have 2 Virtual Machines(Ubuntu), the first 1 as Master, and the second as slave, when I run the test on the Remote Machine I got the following:
Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: 192.168.56.10; nested exception is: java.net.ConnectException: Connection refused (Connection refused)
VirtualBox: 6.0
VirtualMachine:Ubuntu 19.10 Eoan Ermine
Apache Jmeter: 5.2.1
Upvotes: 1
Views: 2194
Reputation: 168147
On master machine add the next line to user.properties file:
remote_hosts=ip address of the slave machine here
Make sure that Ubuntu firewall is either disabled or following ports are allowed there
server_port
)server.rmi.localport
client.rmi.localport
If not yet, follow instructions from the Setting up SSL chapter or disable secure communication between master and slave(s) by adding the next line to user.properties file on both nodes:
server.rmi.ssl.disable=true
More information:
Upvotes: 1