Getting port from server.getSocketAddress() now.