jmeter Linux负载机出错Server failed to start:

报错:Server failed to start: java.rmi.RemoteException: Cannot start. localhost.localdomain is a loopback address. An error occurred: Cannot start. localhost.localdomain is a loopback address

报错为localhost名称出错,没有找到

 

解决方法:

1、运行jmeter-server时后面添加参数,指定当前IP.

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

192.168.142.134为当前负载机的IP

posted @ 2020-07-23 22:59  冯立挺  阅读(732)  评论(0编辑  收藏  举报