问题描述
我已经在Windows 8.1上安装了PostgreSQL 9.6.2。但是pgadmin4无法联系本地服务器。我尝试了stackoverflow中建议的几种解决方案,尝试卸载并重新安装PostgreSQL 9.6.2,尝试修改config.py,config_distro.py并删除Roaming文件夹中的文件,我尝试了独立pgadmin4的安装,但没有成功。但是,在我的本地计算机上,我可以使用psql.exe访问服务器并以超级用户(postgres用户)身份登录。您能为启动/运行pgadmin4提供任何可能的解决方案吗?谢谢。
I have installed PostgreSQL 9.6.2 on my Windows 8.1. But the pgadmin4 is not able to contact the local server. I have tried several solutions suggested here in stackoverflow, tried to uninstall and reinstall PostgreSQL 9.6.2 , tried to modify the config.py, config_distro.py, and delete the files in Roaming folder,i tried standalone pgadmin4 installation, but no success.However, in my local machine i am able to access the server using psql.exe and log as as superuser (postgres user). Can you please suggest any possible solutions to starting/running pgadmin4 ? Thank you.
推荐答案
最终有效的方法是降级为:
What finally worked was downgrading to pgadminIII-v.1.22:
这篇关于pgadmin4:无法联系postgresql应用程序服务器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!