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

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Fri, 17 Oct 2003 15:21:11 -0200


Luciano Callero wrote:
> 
> 
> 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.
> 

You can enable postgresql to listen tcp connections by two ways.

passing the -i option to pg_ctl:

pg_ctl -D <path to your data folder> -o "-i" start

or changing the postgresql.conf (I think this option is new to 
postgresql 7.4 I don't know if it is available in 7.3):

there is a line commented out which says:
#tcpip_socket = false.

You just uncomment it and put it true.
This way you don't need to pass the -i option to pg_ctl.

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

Regards,

Francisco Figueiredo Jr.