[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!

Daniel Morgan danielmorgan at verizon.net
Thu Oct 16 19:02:34 EDT 2003

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

-----Original Message-----
From: Francisco Figueiredo Jr. [mailto:fxjrlists at yahoo.com.br]
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

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
> socket exception: connection refused.  I tried modifying the postgres
> 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

> What do I need to do to connect to PostgreSQL using Npgsql?  Its been
> 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.


Francisco Figueiredo Jr.

More information about the Mono-devel-list mailing list