Errors connecting to PostgreSQL database to reverse engineer
说明
When attempting to connect to a PostgreSQL database to reverse engineer, the following errors are seen:
'Connection failed because of the following error: "Unexpected server response"'
or
'Connection filed because of the following error: "Error on data reading from the connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host failed to respond. Socket Error Code: 10060($274C)"'
原因
Missing Postgres port in the connection details.
解决办法
Please ensure the Port number being used in the connection details to the PostgreSQL database is correct, as set at the time of database creation. The default Postgres port is 5432