The default postgre port is 5432. If postgre is configured properly, it will be listening on this port, and you do not need to open a port.

From: "Daniel Morgan" <[EMAIL PROTECTED]>
To: "Francisco Figueiredo Jr." <[EMAIL PROTECTED]>
CC: "mono-devel mailing list" <[EMAIL PROTECTED]>,"Mono-List" <[EMAIL PROTECTED]>
Subject: RE: [Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!
Date: Thu, 16 Oct 2003 19:02:34 -0400
MIME-Version: 1.0
Received: from mc11-f36.hotmail.com ([65.54.167.43]) by mc11-s18.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 16 Oct 2003 16:07:53 -0700
Received: from listsmx.ximian.com ([141.154.95.15]) by mc11-f36.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 16 Oct 2003 16:04:10 -0700
Received: from headcheese.ximian.com (localhost [127.0.0.1])by listsmx.ximian.com (Postfix) with ESMTPid A300B1248F0; Thu, 16 Oct 2003 19:04:05 -0400 (EDT)
Received: by listsmx.ximian.com (Postfix, from userid 38)id B5C2C1248F0; Thu, 16 Oct 2003 19:03:20 -0400 (EDT)
Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143])by listsmx.ximian.com (Postfix) with ESMTP id F05B91241DEfor <[EMAIL PROTECTED]>; Thu, 16 Oct 2003 19:02:48 -0400 (EDT)
Received: from tracie ([141.152.14.97]) by out005.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <[EMAIL PROTECTED]>; Thu, 16 Oct 2003 18:02:48 -0500
X-Message-Info: BVVQfv+dWoNxOoiPiJ3589bRbkrbHRZrV5lUHaOHZiI=
Message-ID: <[EMAIL PROTECTED]>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <[EMAIL PROTECTED]>
Importance: Normal
X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [141.152.14.97] at Thu, 16 Oct 2003 18:02:47 -0500
X-Spam-Status: No, hits=-27.1 required=5.0tests=EMAIL_ATTRIBUTION,IN_REP_TO,MSGID_GOOD_EXCHANGE, ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL, REPLY_WITH_QUOTES,X_NJABL_DIALUPversion=2.53
X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://lists.ximian.com/mailman/listinfo/mono-devel-list>,<mailto:[EMAIL PROTECTED]>
List-Id: Mono Development <mono-devel-list.lists.ximian.com>
List-Unsubscribe: <http://lists.ximian.com/mailman/listinfo/mono-devel-list>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.ximian.com/archives/public/mono-devel-list/>
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 16 Oct 2003 23:04:13.0592 (UTC) FILETIME=[D0EFA980:01C39439]


How would you enable port 5432 in Red Hat Linux 9?

-----Original Message-----
From: Francisco Figueiredo Jr. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 10:03 AM
To: Daniel Morgan
Cc: mono-devel mailing list; Mono-List
Subject: Re: [Mono-devel-list] RE: [Mono-list] Npgsql sources finally
updated!!


Daniel Morgan wrote: > Hi Francisco, >

Hi Daniel Morgan!! :)

> With PostgreSQL 7.3.2 and mono from yesterday's cvs built on Red Hat linux
> 7.2, I having a problem connecting to PostgreSQL via Npgsql. I am getting
a
> socket exception: connection refused. I tried modifying the postgres
.conf
> file.. pg_hba.conf I think, but I still can not connect.
>


Uhmmmm... are you using server name or ip address? Did you try with ip
address?

> What do I need to do to connect to PostgreSQL using Npgsql?  Its been
awhile
> for me.
>

You only need the Npgsql and Mono runtime to use it. And now, with ssl
support, of Carlos Guzman's tls library in the Lib folder.

The only thing coming to my mind, but I think you already tried this, is
to check if postgresql is listening in the 5432 tcp port.
I sometimes have this problem because I forget to enable it.

Please, let me know if you still get the problem.

Regards,

Francisco Figueiredo Jr.

_______________________________________________
Mono-devel-list mailing list
[EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_________________________________________________________________ ¿Estás buscando un auto nuevo? http://www.yupimsn.com/autos/

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to