我試圖通過運行命令「的Heroku PG:PSQL」連接到Postgres數據庫爲我的應用程序在Heroku上,並得到了以下錯誤消息:Heroku的PG:PSQL不工作
psql: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "URL.com"(IP address) and accepting
TCP/IP connections on port 5432?
我也試着連接使用Pgadmin並且得到錯誤:
Server doesn't listen. Is the server running on host "URL.com" (IP address) and accepting
TCP/IP connections on port 5432?
誰能告訴我如何修復這些錯誤,並正確連接到我的數據庫。 在此先感謝!
要人誰正確安裝並設置自己的PATH變量 - 請務必重新打開CMD或PowerShell的。更新後的變量在您執行之前不會生效。 – ophilbinbriscoe