Postgres Error

GGuilherme 👑🐲5/17/2023
Hey, I have a Django project that uses a Postgres DataBase and I'm hosting those at Railway site, im working on for like 2 months and just now I recived this error:
"connection to server at "" (XX.XXX.XX.XXX), port XXXX failed: Connection timed out (0x0000274C/10060)
Is the server running on that host and accepting TCP/IP connections?"

I already try to create a new Postgres DB but the error persists.
This apears when a try to sign up on my website, the sign up infos go correctly to my DB, but this error page is not a cool thing.

How can I solve this error?