If I understand it correctly, the 0.0.0.0 means that the server socket is not bound to a specific interface/NIC, but will accept connections on that port on all interfaces on the machine. If you want to specify which interface to use, you have to bind it to that interface.
This can be done with the third constructor, which takes an InetAddress. You can also use the empty constructor, which gives you a completely unbound server socket, then set the port number and interface address and then finally call bind().