1
Good morning people when trying to connect to a server I set up my firewall and configured the files pg.conf and pg_hb.conf to allow remote connections but presents this error could help me ?
it presents the following error
Server does not accept connections: connection library reports Could not connect to server: Connection expired (0x0000274C / 10060) Server is running on host "192.168.1.251" and accepting TCP / IP connections on port 5432?
Is your server’s OS Windows? Does the Application connect to the database at any time? How did the Firewall release?
– Laércio Lopes
Laércio Mei operating system is windows in case at the moment it is connecting normally on a localhost connection, but I want to save the data to a server with ip 192.168.1.251.I have configured my firewall so Control Panel, allow program or firewall feature, postgresql checked the domestic option, Audience.
– Felipe
It’s exactly the same way I usually set up and works correctly. You set up postgre on port 5432 even?
– Laércio Lopes
yes, the standard port of postreSql 5432
– Felipe
in case I would have to configure my server ?
– Felipe
How you set up your
pg.config
and thepg_hba.conf
?– R.Santos
Personal i chatting with a friend of mine I need to release the port 5432 of the firewall of the server and the router ai yes will solve my roblema
– Felipe
Thanks for the personal help
– Felipe
Did you solve the problem? If not, put pg_hba.conf..
– Giuliana Bezerra
I solved man, configured Firewal to allow the input d port 5432 and configured Hb.conf with the ip of the servivor
– Felipe