The server name may contain shell wildcard characters such as *, [] etc. A quick selection dropdown menu is automatically constructed from the simple server names.
Specifying :port is optional. If not specified then the default proxy port is assumed. :* or :any matches any port on the target server.
Configuration examples for many common web servers can be found in the Squid FAQ.