Tag Archives: java.rmi.server.ExportException: Port already in use: 1099;

How to Solve Run Error: java.rmi.server.ExportException: Port already in use: 1099;

Start project Error

Connected to the target VM, address: ‘127.0.0.1:57099’, transport: ‘socket’
Error: Proxy threw an exception : java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
Disconnected from the target VM, address: ‘127.0.0.1:57099’, transport: ‘socket’
Disconnected from server

Solution win + R type cmd

Type netstat -ano and enter to find the 1099 corresponding to 19760

Open Task Manager and find 19760 to end the task

Done!