Remote method invocation port in use

后端 未结 6 1062
不思量自难忘°
不思量自难忘° 2020-12-05 03:29

I have created a Server, Client kind of program with RMI. But whenever I run my Server after starting the rmiregistry from command prompt, the port already in use error is t

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 04:02

    Try this:

    lsof -P | grep ':1099' | awk '{print $2}' | xargs kill -9
    

提交回复
热议问题