About the ports used during 'docker pull' and 'docker login'

Hi all,

I have build a machine in company firewall,

I try to using docker pull and docker login, but got same error

Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I also try to using curl

curl https://registry-1.docker.io/v2/ && echo Works || echo Problem

And got Works

I believe this issue is related to the firewall. Besides ports 80 and 443, I would like to know which ports should be opened.