URL validation rejected any host containing a colon, so sources on non-standard ports could not be added. Strip the optional :port from the host before applying the domain checks and validate the port range (1-65535); the port is kept intact through template normalization and URL building.