我正在尝试远程连接postgresql数据库(Heroku)。我使用ASP Web api,但总是有相同的异常:消息“ 28000:主机\“ xx.xxx.xxx.xxxx \”,用户\“ User”,数据库\“数据库名称\”,SSL的pg_hba.conf条目不存在关闭”,我通过编辑pg_hba.conf文件搜索了一些解决方案,然后添加了:host databasename用户名xx.xxx.xxx.xxxx md5,并且没有更改。
asp.net postgresql ssl heroku npgsql
asp.net ×1
heroku ×1
npgsql ×1
postgresql ×1
ssl ×1