Change string to integer for port number