emqx/mqtt-jmeter

When using jmeter cluster,a host with many ips, can't select the ip to connect to the remote server

jimmy0 opened this issue · 0 comments

I have a host with many ips: 192.168.0.212, 192.168.0.201
When using jmeter cluster,even though I fix the server ip by -Djava.rmi.server.hostname=192.168.0.201,
the ip used to connect to the remote server is 192.168.0.212, not 192.168.0.201, which can by watched out by the command:
netstat -ntp | grep 1883
[root@two ~]# netstat -ntp | grep 1883
tcp6 0 0 192.168.0.212:8030 192.168.0.211:1883 ESTABLISHED 64713/java
tcp6 0 0 192.168.0.212:8032 192.168.0.211:1883 ESTABLISHED 64713/java
tcp6 0 0 192.168.0.212:8034 192.168.0.211:1883 ESTABLISHED 64713/java
[root@two ~]#

How can I make the host using 192.168.0.201 to connect the the remote server?
Thanks.