The default port number of the protocol will be hidden automatically, otherwise it will be displayed. For example:
Http defaults to 80. If you enter: http:// domain name: 80, the address bar 80 will not be displayed, but the port is not 80, and it will always be displayed.
Similarly, https is 443, ftp is 2 1, and ssh is 22.