ECONNREFUSED with container's host downloaded from private image
I would like to access from a job, a service that is downloaded from a private registry. I don't find a way to access it,
test:
stage: test
services:
- mysql:5.5.59
- name: private-registery.com/repo/path:0.0.1
alias: privateRegistry
image: node:10
script:
- echo test
What would be the host of the container for the private-registery.com/repo/path:0.0.1 ? I tried privateRegistry but didn't work.