Error during pull request for any public repository

C:>docker pull mariadb

Using default tag: latest
error during connect: Post dial tcp connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.


I am able to login onto dockerhub with my credentials, but unable to do so from terminal window!!! Kindly help.