JMeter- Master server failed to start and return [No route to host (Host unreachable)]

211 views Asked by At

I try to run a distributed test using JMeter, I have 2 EC2 instances

Master Public IP: 54.xxx.xx.xx Slave Public IP: 204.xxx.xxx.xxx

I have opened all the necessary ports that were used in the configuration.

I can ping each EC2 from the other one and the ping is successful.

But when I try to start the test, the server failed and return [No route to host (Host unreachable)].

My plan is to use more than 1 slave.

Error Return From Master Server

1

There are 1 answers

1
Dmitri T On

As per NoRouteToHostException exception description:

Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.

So make sure that the RMI ports which JMeter slave is listening are:

  1. Not dynamic
  2. Open in your operating system firewall
  3. Open in EC2 Security Groups

More information: