Hello Team

I am trying to perform a remote testing but am getting a connection refused
error with the above message.


   1. I have same versions of jmeter and java on both client and server
   2. Added remote IP address to properties file
   3. Started the jmeter-server on slave machine before running the tests
   4. Firewalls have been disabled..
   5. I also started jmeter-server on slave machine with the below command
   but it still dont work.

   jmeter-server.bat -Djava.rmi.server.hostname=local ipaddress


Yet when I try to run am not able to establish a connection to
remote hosts. When i check the log file its showing the below error,








*2023-07-18 21:58:33,464 INFO o.a.j.e.DistributedRunner: Configuring remote
engine: 10.123.54.232023-07-18 21:58:55,903 INFO o.a.j.e.DistributedRunner:
Starting distributed test with remote engines: [  10.123.54.23  ] @ 2023
Jul 18 21:58:55 PDT (1689742735891)2023-07-18 21:58:55,904 INFO
o.a.j.e.ClientJMeterEngine: running clientengine run method2023-07-18
21:58:55,905 INFO o.a.j.e.u.CompoundVariable: Note: Function class names
must contain the string: '.functions.'2023-07-18 21:58:55,905 INFO
o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the
string: '.gui.'2023-07-18 21:58:55,951 INFO o.a.j.r.RmiUtils: System
property 'java.rmi.server.hostname' is not defined, using localHost
address2023-07-18 21:58:55,952 INFO o.a.j.r.RmiUtils: Local IP
address=10.255.255.342023-07-18 21:58:55,979 INFO
o.a.j.r.SSLRMIServerSocketFactory: Created SSLSocket: [SSL:
ServerSocket[addr=* *VAw2WL004033*









*/ 10.255.255.34  ,localport=62262]]2023-07-18 21:58:55,984 INFO
o.a.j.s.BatchSampleSender: Using batching (client settings) for this run.
Thresholds: num=100, time=600002023-07-18 21:58:55,985 INFO
o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this
run2023-07-18 21:58:55,985 INFO o.a.j.r.RmiUtils: System property
'java.rmi.server.hostname' is not defined, using localHost
address2023-07-18 21:58:55,985 INFO o.a.j.r.RmiUtils: Local IP address=
10.255.255.342023-07-18 21:58:56,010 INFO
o.a.j.r.SSLRMIServerSocketFactory: Created SSLSocket: [SSL:
ServerSocket[addr=VAw2WL004033/ 10.255.255.34  ,localport=62263]]2023-07-18
21:58:56,011 INFO o.a.j.s.BatchSampleSender: Using batching (client
settings) for this run. Thresholds: num=100, time=600002023-07-18
21:58:56,012 INFO o.a.j.s.DataStrippingSampleSender: Using
DataStrippingSampleSender for this run2023-07-18 21:58:56,012 INFO
o.a.j.r.RmiUtils: System property 'java.rmi.server.hostname' is not
defined, using localHost address2023-07-18 21:58:56,012 INFO
o.a.j.r.RmiUtils: Local IP address=10.255.255.34*






*2023-07-18 21:58:56,215 INFO o.a.j.s.DataStrippingSampleSender: Using
DataStrippingSampleSender for this run2023-07-18 21:58:56,270 ERROR
o.a.j.e.ClientJMeterEngine: Error in rconfigure()
methodjava.rmi.ConnectException: Connection refused to host:  10.123.54.23
; nested exception is: java.net.ConnectException: Connection timed out:
connect at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:625) ~[?:?] at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:217)
~[?:?] at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:204) ~[?:?]*

Reply via email to