Cannot assign requested address using ServerSocket.socketBind

It may be related to a misconfiguration in your /etc/hosts.
In my case, it was like this:
192.168.1.11 localhost instead of 127.0.0.1 localhost

Leave a Comment