Socket connection timeout when deploy via netlify cli

I am encountering an issue when trying to execute the following command and deploy changes to netlify via netlify cli.

netlify deploy --prod
This folder isn't linked to a site yet
? What would you like to do? +  Create & configure a new site
 ›   FetchError: request to https://api.netlify.com/api/v1/accounts failed, reason: Socket connection timeout

Anyone able to explain what’s going on?

Hi, @lynnchin. The message is saying that the CLI tool cannot connect to https://api.netlify.com/api/v1/accounts. This could be caused by a firewall or by network connectivity issues.

If there are other questions, please let us know.