Changed port number from string to unsigned short.