GitLab Runner : Failing to clone repository: gitlab running @ Custom port

hello, at the moment you register the runner it will place the correct url for gitlab host, including the port.
Try search file config.toml
For linux path /etc/gitlab-runner/config.toml