小编Eva*_*oky的帖子

连接到基于 Windows 的 Postgresql 的问题

其他计算机甚至无法在我的 Windows 7 机器上找到正在运行的 Postgresql 9.1。本地连接当然工作得很好。

在我的 pg_hba.conf 我有:

#office subnets
host    all             all             192.168.##.0/24            md5
host    all             all             192.168.##.0/24            md5
Run Code Online (Sandbox Code Playgroud)

在 postgresql.conf 我有(是的,端口 5433 是故意的):

listen_addresses = '*'      # what IP address(es) to listen on;
                # comma-separated list of addresses;
                # defaults to 'localhost', '*' = all
                # (change requires restart)
port = 5433             # (change requires restart)
Run Code Online (Sandbox Code Playgroud)

netstat -a -bcmd 中运行后,我发现:

 Can not obtain ownership information
   TCP    0.0.0.0:5433           XXXXX-PC:0           LISTENING
Run Code Online (Sandbox Code Playgroud)

哎呀,我什至做了一个防火墙例外:

Protocols and Ports:
   Local port: …
Run Code Online (Sandbox Code Playgroud)

postgresql windows

8
推荐指数
1
解决办法
5万
查看次数

标签 统计

postgresql ×1

windows ×1