citus_docs icon indicating copy to clipboard operation
citus_docs copied to clipboard

Common error message for psql

Open begriffs opened this issue 6 years ago • 0 comments

Communication goals (e.g. detailed howto vs orientation)

People get confused by this error:

psql: could not translate host name "example.com" to address: nodename nor servname provided, or not known

It just means that the DNS doesn't resolve to an IP address. Provide a suggestion to verify:

dig example.com A +short

Note that resolving host with a closed port gives a different error:

psql: could not connect to server: Operation timed out
	Is the server running on host "example.com" (192.0.2.0) and accepting
	TCP/IP connections on port 9999?

Add this information to our common error messages section.

begriffs avatar Jan 14 '19 22:01 begriffs