Unable to Access Private Docker registry from a different host


I have installed a standalone private docker registry V2 and able to pull and push images on the same host, but I am unable to pull or push images from a different host. I am getting below error

“Error while pulling image: Get http://:5000/v1/repositories/snapshot/git/images: dial tcp :5000: getsockopt: connection refused”

thanks for your help!