Hi everyone,
I’m having trouble connecting to my Shopify store using curl.
When I run the following command:
curl https://mydomain.myshopify.com/admin/api/2023-10/products.json
I consistently get this error:
curl: (28) Failed to connect to mydomain.myshopify.com port 443 after XXXXX ms: Could not connect to server
What I’ve tried so far:
-
Verified that my internet connection is working.
-
Confirmed the store URL is correct.
-
Ensured port 443 is not blocked by firewall.
Additional context:
-
I’m attempting to connect to the Admin API.
-
- No API credentials were required yet because I’m simply testing connection, but the request never reaches Shopify (connection timeout).
Has anyone experienced this issue before? Is there something I’m missing?
Any guidance would be appreciated!