XataX
Xata9mo ago
1 reply
Whazzer

Do you block servers from connecting?

I'm having a problem where the scripts located in one of my servers won't connect to Xata, but all other scripts in other servers do.

I'm getting this error on the log:

PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not translate host name "us-east-1.sql.xata.sh" to address: Name or service not known in /home/whazzer/public_html/vecino-seguro/servicios/sesion.php on line 13

To my, that reads as if the problem is that the origin server is not getting an IP for us-east-1.sql.xata.sh

I asked my hosting provider and they said it was you who probably blocked my server. But I think that if that were the case, I would get a "connection denied" error, no? Not a DNS error.

Please help. Thank you.
Was this page helpful?