Received: from thalia.fm.intel.com (fmfdns02.fm.intel.com [132.233.247.11]) by postgresql.org (Postfix) with ESMTP id 250F7475862 for ; Tue, 12 Mar 2002 20:33:30 -0500 (EST) Received: from fmsmsxvs043.fm.intel.com (fmsmsxv043-1.fm.intel.com [132.233.48.128]) by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4, v 1.52 2002/03/01 19:20:46 root Exp $) with SMTP id BAA03345 for ; Wed, 13 Mar 2002 01:33:33 GMT Received: from FMSMSX017.fm.intel.com ([132.233.42.196]) by fmsmsxvs043.fm.intel.com (NAVGW 2.5.1.16) with SMTP id M2002031217323901430 for ; Tue, 12 Mar 2002 17:32:39 -0800 Received: by fmsmsx017.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Tue, 12 Mar 2002 17:33:33 -0800 Message-ID: <01BDB7EEF8D4D3119D95009027AE999511DD2CD5@FMSMSX33> From: "Gill, Jeffrey L" To: "Pgsql Admin (E-mail)" Subject: client connection Date: Tue, 12 Mar 2002 17:33:32 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200203/156 X-Sequence-Number: 3690 I am trying to make my first connection from a client machine to a postresql server machine. What is the correct client command syntax to connect to the server? I do not want to attempt encryption yet so I am not using SSH or stunnel - I trying the easiest configuration i.e. telnet?. Specs: Client RedHat 7.1 2.4.2-2 kernal everything build Server RedHat 7.1 2.4.2-2 kernal everything build with Interchange 4.8 Both of these hosts are on the same subnet and can ping each other. I am learning Linux and Postgresql from scratch. I have started the postmaster with '-i' option to allow TCP/IP connections. I used the following command to do this and am using port 8888 to avoid lock with port 5432. Not sure if I have to do this but I show a message saying 5432 was locked. pg_ctl -D /home/jeff/test -o '-i -p 8888' restart I edited the pg_hba.conf to allow any host from this subnet to connect i.e. host all 10.240.22.0 255.255.255.0 trust The way I tried to connect as the client to the server was telnet 10.240.22.203 8888 The response I get is Connected 10.240.22.203 Escape character is '^]'. When I hit the return key I get Invalid packet length Connection closed by foreign host. What am I doing wrong or what else do I need to do? Thanks, Jeff