最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

在Node中通过本地连接服务器postgresql数据库时面临ETIMEDOUT

网站源码admin34浏览0评论

在Node中通过本地连接服务器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”以接受请求,但仍然遇到同样的问题。

回答如下:
发布评论

评论列表(0)

  1. 暂无评论