Issue with Docker Login command - Connection Forcibly closed by Remote server

Hello Docker Community,

I’m reaching out to seek assistance with an error I’m encountering when executing the docker login command with correct username and password(verified) on my Windows server.

Error message:
Error response from daemon: Get “https://registry-1.docker.io/v2/”: read tcp my server ip->destination ip: wsarecv: An existing connection was forcibly closed by the remote host.

also, when i try to access the same URL using curl, the connection is successful, which suggests that the issue might be specific to Docker’s handling of the request rather than network or registry itself.

Any guidance or troubleshooting or resolving this would be greatly appreciated.

Thank you for your support!

You created the topic in the Docker Engine category. That is Docker CE running directly on Linux, but you also added th “windows” tag to the topic. Are you using Docker Desktop for Windows?

I am using Docker CLI on windows server.

Sorry for not replying to your last message. I bookmarked it with a notification, but apparently I don’t always notice that either.

To be honest I’m not sure what the problem was. Did you get help from anywhere since then or do you still have the issue?

If you are using Docker Engine, can you share how you installed it? I never run Docker CE on Windows Servers so I have no personal experience.