Made the port number user specified for server