Jmeter

Jmeter - Linux 下面执行jmeter-server的时候出现:An error occurred: Cannot start. localhost is a loopback address.错误

[root@localhost bin]# ./jmeter-server

Created remote object: UnicastServerRef [liveRef: [endpoint:[127.0.0.1:39150](local),objID:[-3126fe29:14300b1102e:-7fff, -4078314045196249121]]]
Server failed to start: java.rmi.RemoteException: Cannot start. localhost is a loopback address.

An error occurred: Cannot start. localhost is a loopback address.

解决方法如下: In latest version, you can run your script with:指定本地IP

./jmeter-server -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx

[root@localhost bin]# ./jmeter-server -Djava.rmi.server.hostname=192.168.237.129

Created remote object: UnicastServerRef [liveRef: [endpoint:[192.168.237.129:47673](local),objID:[-7946c75b:14300b3330a:-7fff, -616947588795269019]]]

这样就可以在 本地的Master里面看到远程启动了:

原文地址:https://www.cnblogs.com/hoby2017/p/9519257.html