Can't reach database server error

I was working on a project for a while and then suddenly I got this error. Something that confuses even more is that the same code works fine on my production build with the same env. I am stuck with this error. What am I missing?
No description
3 Replies
Nurul
Nurul2mo ago
If I understand correctly you get this error in your local environment, right? But in your deployed production environment everything works as expected?
Akshat Dubey
Akshat Dubey2mo ago
yes, exactly that
Nurul
Nurul2mo ago
Did you try changing your network and see if you still get the error?