Error "No connection could be made..." Connecting to Tableau Server PostgreSQL

Published: 08 Apr 2013
Last Modified Date: 07 Jan 2019


When you try to connect to the Tableau Server PostgreSQL database from Tableau Desktop, the following error might occur:
An error occurred while communicating with the data source.
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.

Database error 0x80004005: Could not connect to the server;
No connection could be made because the target machine actively refused it.


  • Tableau Server
  • Tableau Desktop


  1. Open the tabsvc.yml log file and check the value for pgsql.port or pgsql0.port
  2. ​If the value has been changed from the default (8060), you have two options:


The default PostgreSQL port has been changed.
Did this article resolve the issue?