PostgreSQL La base de donnees la plus sophistiquee au monde.

Forums PostgreSQL.fr

Le forum officiel de la communauté francophone de PostgreSQL

Vous n'êtes pas identifié(e).

#1 19/12/2018 16:08:50

Failed to establish a connection to '113.161.xxx.xxx'

Dear All,
I am newbie with postgres DB. I have just installed postgresql-9.6.4-1-windows-x64 on a windows 2012 server with public IP address 113.161.xxx.xxx so that every clients can access it via WAN or Internet.
After installation and create new Database, I did something such as
1. open the file 'pg_hba.conf and ddd following line,

host all all 0.0.0.0/0 md5
2. open 'postgresql.conf' file and change information like below

listen_address = '*' port = 5432
3. Turn of all firewall
4. Try to open connection to postgres with C#.net and Npgsql.dll(version 2.0.12.0) but it raise error "Failed to establish a connection to '113.161.xxx.xxx'"
Anyone can help me because I have done all the guide from many forum from stackoverflow.com and others but not success. If I copy sample app to run on this server, then it will work! So pls help
Thanks and best regards

Hors ligne

#2 19/12/2018 20:27:41

gleu
Administrateur

Re : Failed to establish a connection to '113.161.xxx.xxx'

This is a french forum, so you should either ask in french or go to an english forum.


Guillaume.

Hors ligne

#3 20/12/2018 04:23:26

Re : Failed to establish a connection to '113.161.xxx.xxx'

Could you pls tell me the link of English forum. Thanks

Hors ligne

#4 20/12/2018 10:19:22

gleu
Administrateur

Re : Failed to establish a connection to '113.161.xxx.xxx'

There are only mailing lists as far as I know (and use): https://www.postgresql.org/list/


Guillaume.

Hors ligne

Pied de page des forums