0

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 Answers1

0

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:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • I double-checked all points you mention: RMI ports on slave is not dynamic, and the selected port is Open in EC2 Security groups for all network traffic. Still, the same issue, is there any other possible solution? – ayman salman Jan 09 '22 at 12:33