postgreSQL远程连接出现:Error connecting to server :致命错误 SSL关闭的pg_hba.conf记录
2014-07-09 21:45
507 查看
异常截图:
解决方案:
备注:如出现监听异常,请修改
解决方案:
[root@www ~]# vi /var/lib/pgsql/data/pg_hba.conf
# TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all ident # IPv4 local connections: host all all 127.0.0.1/32 ident host all all 10.10.46.1/24 md5 # 新添加 # IPv6 local connections: host all all ::1/128 ident
备注:如出现监听异常,请修改
[root@www ~]# vi /var/lib/pgsql/data/postgresql.conf
listen_addresses = '*' # what IP address(es) to listen on; 移除注释 # comma-separated list of addresses; # defaults to 'localhost', '*' = all # (change requires restart) port = 5432 # (change requires restart) 移除注释 #ssl_renegotiation_limit = 512MB # amount of data between renegotiations password_encryption = on # 移除注释
相关文章推荐
- postgreSQL远程连接出现:Error connecting to server :致命错误 SSL关闭的pg_hba.conf记录
- Error connecting to server :致命错误 SSL关闭的pg_hba.conf记录
- PostgreSQL远程连接,发生致命错误:没有用于主机“…”,用户“…”,数据库“…”,SSL关闭的pg_hba.conf记录
- (笔记)远程连接MySQL出现ERROR 2003 (HY000): Can't connect to MySQL server on ip (111)
- mysql连接远程数据库出现 ERROR 2013 (HY000) Lost connection to MySQL server at 'reading authorization packet',
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
- 远程连接服务器出现 SQL Error (1130): Host IP is not allowed to connect to this MySQL server 错误
- EntityFramework.SqlServer.dll 中发生 其他信息: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接)
- eclipse过一会就出现Adb connection Error:远程主机强迫关闭了一个现有的连接。
- 远程连接mysql 出现: 1130: Host is not allowed to connect to this MySQL server 解决
- 远程连接MySQL出现host is not allowed to connect to this mysql server
- MySQL远程连接ERROR 2003 (HY000):Can't connect to MySQL server on'XXXXX'的问题
- 远程mysql出现ERROR 1130 (HY000): Host '172.17.42.1' is not allowed to connect to this MySQL server
- aws linux服务器,ubuntu,远程连接MySQL,ERROR 2003 (HY000): Can't connect to MySQL server on
- MySQL远程连接ERROR 2003 (HY000):Can't connect to MySQL server on'XXXXX'(111) 的问题
- MYSQL远程连接出现Host * is not allowed to connect to this MySQL server
- eclipse的console总是出现如下的错误“Adb connection Error:远程主机强迫关闭了一个现有的连接”
- kettle连接oracle出现Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
- Oracle学习笔记4 使用Navicat for Oracle 连接Oracle时出现错误:ORA-28547: connection to server failed, probable Oracle Net admin error
- Adb connection Error:远程主机强迫关闭了一个现有的连接。Unable to open sync connection!