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

#2 Général » Failed to establish a connection to '113.161.xxx.xxx' » 19/12/2018 16:08:50

dvcuong150181@
Réponses : 3

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

Pied de page des forums

Propulsé par FluxBB