Search Postgresql Archives

Postgresql connect into windows server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, All !

I have 2 machines with Gentoo Linux its ip is 192.168.17.109 and
Windows XP ip is 192.168.17.124
Postgresql 9.0.1 was installed on both machines. If I connect from
Windows machine onto Linux machine all works fine. pg_hba.conf on
linux machine is
   local   all             all                                     trust
  # IPv4 local connections:
  host    all             all             127.0.0.1/32              trust
  # IPv6 local connections:
  host    all             all             ::1/128                       trust
  host    all             all             192.168.17.1/24        trust

But if I connect from linux machine onto postgresql windows I receive
error message
Connection timed out.
 Is the server running on host "192.168.17.124" and accepting TCP/IP
connections on port 5432?"
Its pg_hba.conf is
host    all             all             127.0.0.1/32            md5
host    all             all             192.168.17.109/32       trust
host    all             all             192.168.17.1/24         trust
postgresql.conf is

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)
max_connections = 100	

But pg_admin on windows successfully works on both servers.
Any ideas ?

Thanks in advance.
-- 
Best regards,
Sincerely yours,
Yuriy Rusinov.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux