connection error postgreSQL
wusixuan2
TRIALOP
2 years ago
I encountered the following error after I ran psql DATABASE_URL .
psql: error: connection to server at "tcp-proxy.railway-develop.app" (172.29.0.10), port 23886 failed: Network is unreachable
Is the server running on that host and accepting TCP/IP connections?
corresponding postgres log
[28807] LOG: could not receive data from client: Connection reset by peer
psql DATABASE_URL was working on my computer until today. I also had issues with connection with postgresql server on my computer but solved with brew service restart along with the solution i found from here