1 Reply Latest reply on Sep 15, 2018 8:37 AM by Ken Flerlage

    Extract getting failed

    Rishabh  Tripathi

      Hi,

       

      Recently I faced issue in Tableau server where many of the extracts got failed due to below error.

      Currently we are on server 2018.1

       

      Error:

      com.tableausoftware.nativeapi.dll.DataSourceException: PQstatus: 1, could not connect to server: Connection refused
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 8593?

       

      Any idea?

       

      Thanks

      Rishabh

        • 1. Re: Extract getting failed
          Ken Flerlage

          Can you provide some details about the database it's connecting to? It looks to me like you've specified "localhost" as the database, which may work okay while you're developing in Tableau Desktop, but "localhost" always refers to the local machine, so once that's published to Server, it will be looking for the database on the Tableau Server. It'll be best to provide the actual database server name in the connection, instead of localhost.