2017-09-13 8 views
0

내 로컬에서 Heroku postgres 데이터베이스에 연결하려고합니다.Homestead Vagrant 상자에서 Heroku Postgres 데이터베이스에 연결할 수 없습니다.

$ 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} 

하지만 연결할 수 없습니다 : 나는이 같은 정보를 얻을 수 있습니다 나는 방랑 SSH 로그인

내부에서 CLI를 사용하고 "laravel/homestead": "v2.2.1"

Laravel 농가 방랑 상자를 실행 해요 예

$ 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? 

감사합니다. 감사합니다

+0

업데이트 : OSX의 로컬 디렉토리에서 터미널을 통해 CLI를 실행하는 방랑하는 ssh 로그인 외부에서 연결을 시도했습니다. 같은 오류가 발생합니다. –

답변

0

저희 사무실의 5432 항구가 막혔습니다.