keikaavousi/fake-store-api

connect ECONNREFUSED

rrawann opened this issue · 4 comments

How can solve this issue FetchError: request to https://fakestoreapi.com/products , reason: connect ECONNREFUSED 188.114.96.6:443

Do you have a code snippet on how you got that error? I am able to fetch data via that endpoint.

This is a code snippt @khanguslee , it was working and fetching data without any issues

api

Your code looks good to me. Can you check if it works now? Sometimes the API is down as you can see from past closed issues.

Note that the API is a free service, so I wouldn't be shocked if people were unintentionally causing the server to crash.

Yes it is work now after I run npm run build for the project, Thank you very much @khanguslee