Adding Both Trusted IP Addresses and Host Names to Wgserver.Trusted_Hosts

Published: 08 May 2014
Last Modified Date: 20 Jan 2019


How to add trusted IP addresses and their corresponding host names to wgserver.trusted_hosts. 


  • Tableau Server
  • Trusted Authentication


Step 1

Click the Start button, and select All Programs > Accessories. Right-click Command Prompt and select Run as administrator.

Step 2

In the command prompt window, type one of the following depending on your version of Tableau and operating system:
  • cd “C:\Program Files\Tableau\Tableau Server\<version>\bin”
  • cd “C:\Program Files (x86)\Tableau\Tableau Server\<version>\bin”
Note: Replace <version> with the version of Tableau Server you are running.

Step 3

Type the following commands:
tabadmin set wgserver.trusted_hosts "<ip-address>, <host name>"
tabadmin config
tabadmin restart
Note: Replace <ip-address> with the IP address of the web server and <host name> with the host names of your web server(s). The IP address must be an IPv4 address or computer name.


Did this article resolve the issue?