Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception

在路径\apache-jmeter-5.0\bin下启动jmeter-server.bat时抛出了如下异常:

  Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception

  1.jmeter 1099端口 被占用,修改端口号

  使用netstat -lntp|grep 1099查看1099是否被占用

   Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception

  2.Server相关的rmi配置需要调整

   #server.rmi.ssl.disable=false 去掉注释 修改末尾的false-->true

 

Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception

重新启动jmeter-server

Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception

 

上一篇:导出客户端对象时出现“java.rmi.ConnectException:Connection拒绝托管”


下一篇:jmeter分布式压测配置