Remote method invocation port in use

后端 未结 6 1071
不思量自难忘°
不思量自难忘° 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 03:51

    If you're using macOS, you can stop port following as:

    First thing you need to find the PID_number: lsof -i :1099

    And then kill that port: kill -9 PID_number

提交回复
热议问题