First, you should not hardcode your IP:
public static final String SERVERIP = "10.0.0.121";
instead use getLocalHost() to get your address.
Server needs ServerSocket and a thread in infinite loop to call accept()
Socket is for the client with must connect() to Server address and port (since using TCP )