Basically, this error popped out because some of the services are bound to the same port. So you can use the TCPView application which will help to get what process is listening to which port. Once you get that, kill that process or you can close the connection.
I hope this will help.
Want to become a Java expert? join Java Course now!!