Caused by: Address already in use

Problem: If next error appears and you are using Java in Windows:

Caused by: Address already in use: bind

Solution: open CMD and launch next command:

netstat -ano | findstr :<PORT_NUMBER>

Finally using last column values (PID column), you have to launch next command (one time per row):

taskkill /PID <PID_NUMBER> /F

For more interesting tutorials & guides just check them HERE.

Leave a Reply

Your email address will not be published. Required fields are marked *