If  there no port the URL will contain a `:`. Same thing with `path`