簡體   English   中英

Vagrant Homestead 未與 PostgresSql 連接

[英]Vagrant Homestead is not connecting with PostgresSql

在 Vagrant Homestead 中連接 psql 時,出現以下錯誤:

psql: error: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
 could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and 
accepting TCP/IP connections on port 5432?

任何人都可以分享一些有關在哪里查找錯誤的指示嗎?

連接被拒絕意味着您嘗試連接的端口實際上並未打開。 剛剛重新閱讀文檔https://laravel.com/docs/6.x/homestead#ports所以我想在你的本地機器上嘗試 54320 端口。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM