Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用 docker image 建立 pgadmin4,Create Server 的 host name 不是 localhost 而是 172.17.0.1 #1

Open
kuihao opened this issue Jul 16, 2021 · 1 comment

Comments

@kuihao
Copy link

kuihao commented Jul 16, 2021

Environment:

  • os: ubuntu 18.04
  • odoo ver.: odoo14
  • docker image: postgres:10.9

我用 pgadmin4 與 database 建立連線時, 輸入 localhost 不管用
後來查 stack overflow 看到有人用 172.17.0.1
結果成功了!?!!

@twtrubiks
Copy link
Owner

@kuihao 我上網看了一下, 似乎的確有人在本機要輸入 172.17.0.1, 容器內輸入 127.0.0.1.
但我自己是沒有遇到這種狀況. 至於這個問題, 可要要去研究一下.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants