I'm using Gitlab enterprise trial edition and setup gitlab-runner on same server. Setup pipelines to build projects using gitlab-runner but getting below error when build my code :
Running with gitlab-ci-multi-runner 9.5.0 (413da38) on mypc10.local (db1052ee) Using Docker executor with image php:7.1.1 ... Waiting for services to be up and running... Using docker image sha256:66096b6df47a96fc0e86eb84a6c1c2d5c34ce55e2ddc70cb1cad17910b58ee17 for predefined container... Pulling docker image php:7.1.1 ... Using docker image php:7.1.1 ID=sha256:608e59384e11266142f9eb5e66b4b887596371e910e6b20e797717961947e3c4 for build container... Running on runner-db1052ee-project-2-concurrent-0 via nls10... Fetching changes... fatal: unable to access 'http://gitlab-ci- token:email@example.com/root/myproject.git/': Failed to connect to 172.18.0.1 port 80: Operation timed out ERROR: Job failed: exit code 1
I able to resolve
mypc10.local hostname using hosts file, even i tried to setup localhost, 127.0.0.1 and 192.168.1.24 on gitlab but getting same error.
Also able to telnet on
80 port using my hosts name.
anyone have idea why getting this error ?