Skip to main content

Troubleshoot `Connection timed out` in PostgreSQL exports

Fix a PostgreSQL export that times out or can't reach the database server.

Problem summary

Your PostgreSQL export can't reach your database server, so the connection times out.

​

Error message or symptoms

The export fails with an error that contains:

​

Connection timed out

​

or:

​

Network is unreachable

​

When does this occur

  • The Host or Port setting in the export is wrong.

  • A firewall, security group or pg_hba.conf rule blocks connections from Funnel.

​

Root cause

Funnel can't open a connection to the host and port in the export. Either the address is wrong, or your network blocks Funnel's IP addresses.

​

Solution

  1. Check that the export's Host and Port match your database server. The PostgreSQL port is usually 5432.

    ​

  2. In your firewall, security group or pg_hba.conf, allowlist the IP addresses for your Funnel environment.

    ​

  3. Run the export again.

​

If the error says Network is unreachable and your host only has an IPv6 address, switch to a host with an IPv4 address.

Did this answer your question?