Grokbase
Topics Posts Groups | in
x
[ help ]

-- (khu...@sympatico.ca)

Profile | Posts (2)

User Information

Display Name:--
Partial Email Address:khu...@sympatico.ca
Posts:
2 total
1 in PostgreSQL - Docs
1 in PostgreSQL - JDBC

2 Most Recent

1) -- Re: cannot connect to db from remote machine
| +1 vote
Yes, the subnet mask needs to be 255.255.255.255 and not 255.255.255.0. thanks,
PostgreSQL - JDBC
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Yes, the subnet mask needs to be 255.255.255.255 and not 255.255.255.0.
thanks,


-----Original Message-----
From: [email protected: pgsql-jdbc-...@postgresql.org]
[email protected: pgsql-jdbc-...@postgresql.org] On Behalf Of Paul Thomas
Sent: April 9, 2004 12:14
To: pgsql-jdbc @ postgresql . org
Subject: Re: [JDBC] cannot connect to db from remote machine


On 09/04/2004 15:37 Rein Reezigt wrote:
> Hello all,
>
> I have a problem connecting to the postgres database from a remote
> machine. I wonder if I have missed something. The java client which uses
> jdbc times out when connecting to the remote db. The database is running
> on a redhat 9 linux machine and I connect from eclipse on a windows
> machine.
> I changed a line in postgresql.conf to:
>
>   tcpip_socket = true
>
> and in pg_hba.conf I added a line
>
> host all all 192.168.1.102 255.255.255.0
> trust
>
> where 192.168.1.102 is my windows machine. The linux machine is ...103.
> I restarted the postmaster, but I cannot connect. Any ideas?

I think your netmask should be 255.255.255.255.

HTH

--
Paul Thomas
+------------------------------+--------------------------------------------
-+
| Thomas Micro Systems Limited | Software Solutions for
Business             |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+--------------------------------------------
-+

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
2) -- Postgresql .pdf docs for 7.4.2
| +1 vote
Ladies and Gentlemen: The .pdf documentation for PostgreSQL is generally very good and user...
PostgreSQL - Docs
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Ladies and Gentlemen:

The .pdf documentation for PostgreSQL is generally very good and user
friendly.  I, however, noticed that the .pdf docs for version 7.4.2 have not
only been merged into one big document but the Bookmarks (the side bar in
Adobe Acrobat where a specific topic could be easily found and accessed) are
also missing.  It will be really helpful if the Bookmarks (the side bar in
Adobe Acrobat where a specific topic could be easily found and accessed)
section in .pdf document for version 7.4.2 is restored.

Regards,

spacer
Profile | Posts (2)
Home > People > --