Docker login harbor

My harbor is an onpremis and is sitting behind apache.i am able to access it through webbrowser using https itself.But thorugh cmd ,when i try to docker login it is showing time out error.any idea?

Login did not succeed, error: Error response from daemon: Get “https://harbor.litc.gov.in/v2/”: Get “http://10.55.17.25:8085/service/token?account=peteruser&client_id=docker&offline_token=true&service=harbor-registry”: net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)