[Resolved] Caused by: java.net.BindException: Address already in use: bind

In windows, run this below command,

netstat -ano | findstr :9092

this command will list down all the processes which are running in this port (9092).

To kill the process in windows run the below command

taskkill /pid 21680 /f

  • 21680 is the process id displayed after running the netstat above command.
  • /f to kill the process forcefully.

You will be able to see this response,
SUCCESS: The process with PID 21680 has been terminated.

Leave a Reply