Unable to acces the repo when cloning repository during CI

I have some trouble since the 10.1.0 update. When I launch a Job with the CI Runner,
the following message appear
“fatal: unable to access ‘http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@localhost/’: Failed to connect to localhost port 80: Connection refused”

In the configuration file of the runner I added the field “extra_hosts” but nothing changes.

Gitlab is in 10.1.0 and gitlab-runner is in 9.5.1.

Thanks for your help.