Loading

Error "Cannot connect to Tableau Server. Please check the server name and port and try again" When Connecting To Published Datasource

Publiceringsdatum: Apr 13, 2024
Beskrivning

When connecting to published data source, the following error might occur
 

 "Cannot connect to Tableau Server. Please check the server name and port and try again"
or
 "HTTP Status 500 – Internal Server Error"

Cause

Vizportal maintenance port is used by other process.
Lösning

1: Verify Tableau Desktop log, the following error message is recorded.

org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.tableausoftware.api.support.ThriftController]: Constructor threw exception; nested exception is org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:[port number].

2: Open command prompt as an administrator in Tableau Server machine

3: Run the following command: netstat -ano | find "[port number]". The results should provide the PID of any process using this port. The result may look something like the following:

TCP    0.0.0.0:8016           0.0.0.0:0              LISTENING       26732

4: Open Task Manager and organize the Processes tab by the PID column. If the PID column is not shown, right-click the column headers and select PID. Locate the PID found in the netstat results and determine what process is using this port.

5: Once the process has been identified, that process needs to either be terminated or moved to a different port. 
 
Knowledge-artikelnummer

001496581

 
Laddar
Salesforce Help | Article