Parsing port number