This exception shows up because there is no service that is listening to the port, for which you are trying to connect:
- Check with the IP/Host or port.
- You may not be started your server.
- Also, your server may not be listening to connections.
- The backlog queue is full for the Windows server.
I hope this will help.
Want to become a Java expert? join Java Course now!!