Any other locations where database connection IP / hostname set other than DISCOURSE_DB_HOST in app.yml?

Make sure you follow Running Discourse with a separate PostgreSQL server.