Moving postgres db to central db server: build error

Are you sure that the remote database is available from the server? It looks like it’s not. Can you telnet to the database port from the web server machine?