KNOWLEDGE BASE

Error "Connection attempt failed: could not translate host name ... to address" Opening Workbook


Published: 10 Jul 2014
Last Modified Date: 20 Jul 2023

Issue

When viewing a workbook published to Tableau Server the following error might occur:

TableauException: <driver version> Connection attempt failed: could not translate host name "<server name>" to address: Unknown host Unable to connect to the server "<server name>". Check that the server is running and that you have access privileges to the requested database. 
 
Workbook can be viewed in Tableau Desktop without issue.

Environment

  • Tableau Server
  • Tableau Desktop

Resolution

Option 1

Work with local IT team to ensure that the computer running Tableau Server can resolve the IP address of the server named in the error message.

Option 2

In Tableau Desktop, edit the connection and replace the server name in database connection with the IP address of the database server.

Note: This option works only if the computer running Tableau Server can connect to the database server with the IP address.

Cause

The computer running Tableau Server cannot resolve the IP address of the server name used in the data connection.

Additional Information

This error occurs with Amazon Redshift and also other data sources.
Did this article resolve the issue?