Issue while login to docker-registry.default.svc:5000

Hi team,

We are getting issue while login to docker registry ,
Error as below :
[root@DGSLBACA etc]# docker login docker-registry.default.svc:5000 -u admin -p ‘oc whoami -t’
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get http://docker-registry.default.svc:5000/v2/: dial tcp 172.30.1.1:5000: connect: connection refused

resolv.conf file entry as below .

Generated by NetworkManager

nameserver 8.8.8.8
search cluster.local default.svc.cluster.local svc.cluster.local cluster.local default.svc

Version details
docker version : 19.03
Openshift version : 3.11
Cent OS version : CentOS Linux release 7.7.1908 (Core)

Hostfile entry
[root@DGSLBACA etc]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.30.1.1 docker-registry.default.svc docker-registry.default.svc.cluster.local