Postico for mac solutions to common connection problems

Postico for Mac is a tool for viewing data in an intuitive application, PostgreSQL provides a number of advanced tools for data analysis: common table type, recursive queries, filter set, window functions, etc., you can check long in the sidebar text or images, in this article, we introduce the post for MAC common connection problems solutions.

Postico for mac solutions to common connection problems

When Postico into a "negotiating SSL ......"
This is usually a firewall silently discarding packets caused. Ensure that the firewall is configured to allow the computer to connect to PostgreSQL server (e.g., by IP address whitelist).
Sometimes you can use SSH tunnel to bypass the firewall.
Unable to connect to server: Connection refused
server is running and accepting TCP / IP connections on port 5432 on the host "xyz"?
When the PostgreSQL server is not running or listen for network connections, this happens.
Ensure that the postgresql.conf file in the correct configuration of the listen_addresses parameters (you can find it in the data directory).
Network filters adverbial clause: security software,
many problems are connected by a network filter anti-adverbial clause: These tools caused by viruses and other security software typically prevent or block internet access. The question arises often difficult to debug, and can lead to many error messages if you use any network interference stack software, contact the vendor to learn how to configure it to be compatible with PostgreSQL's certain. An element may simply not compatible, you must disable it before you connect to the PostgreSQL server's.
When Postico said, "it failed to resolve the local host host name can not be found.."   
The default contents of this file this message is usually caused by a problem in the / etc / hosts file is (on OS X 10.11):
# #   
# host database
#
#localhost used to configure the loopback interface. #
System do not change the entry when starting
##  
127.0.0.1 localhost
Broadcasthost 255.255.255.255  
:: 1 localhost   
changes restored to / etc / hosts should be able to solve this connection problem.

These are the Postico for mac solutions to common connection problems, I hope you can help.

Guess you like

Origin blog.csdn.net/ankychan/article/details/91992847