A url is a uniform resource locator. Port number is the identification used when connecting between programs, including method, host, port and path.
Each network program corresponds to one or more specific port numbers, for example, the default port number of HTTP program is 80, and that of HTTPS program is 443.