本地连接服务器postgresql数据库时面临ETIMEDOUT"/>
在Node中通过本地连接服务器postgresql数据库时面临ETIMEDOUT
Error connecting to PostgreSQL database Error: connect ETIMEDOUT **.**.**.**:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: 'myIpAddress',
port: 5432
}
我已经更改了 PostgreSQL 配置文件“postgresql.conf”和“pg_hba.conf”以接受请求,但仍然遇到同样的问题。
回答如下:更多推荐
在Node中通过本地连接服务器postgresql数据库时面临ETIMEDOUT
发布评论