-1

I have done few settings on my system

  1. add IP address of remote_host in JMeter properties file

remote_hosts= ec2-user@xx.xxx.xxx.xx, ec2-user@x.x.xxx.xx

  1. created rmi_keystore.jks file and copy paste this file into both slave machine's jmeter/bin folder

  2. now when i am trying to run sh jmeter-server, its giving error enter image description here

can anyone help how can i solve it so it can connect with remote machines. or i am missing something which i should do it.

My firewall is already ON

Neha Bansal
  • 87
  • 1
  • 1
  • 8

1 Answers1

0

Amend your command to explicitly set java.rmi.server.hostname property

sh jmeter-server -Djava.rmi.server.hostname=IP address or DNS hostname of your slave machine

and make sure that it's not localhost or 127.0.0.1 or ::1

In order to make the change permanent you can add the above line to JMeter system.properties file (lives in "bin" folder of your JMeter installation)

java.rmi.server.hostname=IP address or DNS hostname of your slave machine

Alternatively you can add the next line to your hosts file:

Nehas-Macbook-Pro.local    IP address or DNS hostname of your slave machine
Dmitri T
  • 159,985
  • 5
  • 83
  • 133