I need to establish a remote connection to docker registry created in my local machine

i created a local registry but i cannot able to pull and push the registry from remote client, i am getting a error like localhost 127.0.0.1:53 no such host, could you please suggest any steps regarding this issue