I have an endpoint that I fetch in client side in a page of Next JS it works,
But once I use the same endpoint with everything same it doesnt work
I got this error
errno: -3008,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘api.exemple.fr’
No problem in the implementation,
When I ping the api.exemple.fr it doesnt know it,
only in the serverside,
What do you think can be the problem?
It’s an API that only work on my company VPN, when I ping it serverside it doesnt work
user25044020 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.