Unable to pull docker image from artifactory

Hell All,
We are using Kubernet v1.17.4 and we are able to deploy pods and able to run jobs.
but when I try to pull docker images from artifactory its throwing the below error. not seeing this issue when I try to pull image from AWS ECR. I am able to pull images from artifactory on normal node(non-kubernetes node without giving any authentication). do I need to configure anything to pull these images?

v1/_ping: dial tcp connect: no route to host