0
我試圖從我的本地連接到Heroku postgres數據庫。我跑"laravel/homestead": "v2.2.1"
無法連接到來自Homestead Vagrant框的Heroku Postgres數據庫
我使用CLI從一個無業遊民ssh登錄
內Laravel家園流浪盒,我可以得到這樣的信息:
$ heroku pg:info
=== DATABASE_URL
Plan: Hobby-dev
Status: Available
Connections: 0/20
PG Version: 9.6.4
Created: 2017-09-12 05:22 UTC
Data Size: 7.1 MB
Tables: 0
Rows: 0/10000 (In compliance)
Fork/Follow: Unsupported
Rollback: Unsupported
Add-on: {Add-on name}
但是無法連接例如
$ heroku pg:psql
--> Connecting to {Add-on name}
psql: could not connect to server: Connection timed out
Is the server running on host "ec2-184-72-245-58.compute-1.amazonaws.com" (184.72.245.58) and accepting
TCP/IP connections on port 5432?
感謝任何幫助。謝謝
更新:也嘗試從外部流浪ssh登錄連接,只需通過終端從OSX本地目錄運行CLI。我犯了同樣的錯誤。 –