ナレッジベース

Tableau Desktop から Tableau Server の PostgreSQL データベースへ接続するときのエラー "Connection timed out (0x0000274C/10060) Is the server running on host [... ]and accepting TCP/IP connections on port 8060?"


発行: 23 Aug 2019
最終修正日: 29 Mar 2023

問題

Tableau Desktop を使用して Tableau Server PostgreSQL データベースに接続するときに、次のエラーが発生する場合があります。
 
"could not connect to server: Connection timed out (0x0000274C/10060) Is the server running on host "<TableauServerName.com>" (IP address) and accepting TCP/IP connections on port 8060? Unable to connect to the PostgreSQL server "<TableauServerName.com>". (PostgreSQL サーバー "<TableauServerName.com>" に接続できません。) Check that the server is running and that you have access privileges to the requested database." (サーバーに接続できません。サーバーが実行中であり、要求したデータベースへのアクセス権を持っていることを確認してください。)

さらに、tsm data-access repository-access enable --repository-username readonly --repository-password <PASSWORD> コマンドが完了していないため、サーバーを再起動して既存のコマンドを終了する必要があると報告されました。

 

環境

  • Tableau Server 2019.1
  • Windows Server 2012
  • Tableau Server の内部 PostgreSQL リポジトリ

解決策

IT チームと協力して、外部接続を使用したポート変換をするために、セキュリティ アプライアンスでポート 8060 のブロックを解除します。

 

原因

ポート 8060 は、パブリック コネクタ (接続内の Tableau Server 名、エラー メッセージおよび提案される Powershell コマンドなど) に対するセキュリティ アプライアンスのポート変換によりブロックされました。

詳細情報

次のテストは、接続ウィンドウ (およびエラー) で Tableau Server 名を使用している Windows Powershell で実行されました。
 
Test-NetConnection -Port 8060 -ComputerName tableau.duravent.com

結果は True である必要があります。そうでない場合は、何らかの原因によってポート 8060 がブロックされています。


さらに、Tableau ヘルプの記事の tsm data-access からコマンドを実行して、readonly または tableau ユーザーが PostgreSQL レポジトリにアクセスできるよう適切に設定されていることを確認します。

tsm data-access repository-access list [global options]

この記事で問題は解決しましたか?