Resolving Port 80 Conflicts

Version 2

    Article Note: This article is no longer actively maintained by Tableau. We continue to make it available because the information is still valuable, but some steps may vary due to product changes. Tableau Support cannot assist with any issues that occur as a result of this article. 


     

    By default, port 80 is used for web access to Tableau Server. However, there are times when port 80 becomes unavailable due to other processes running on the machine that also use the same port, such as Internet Information Services (IIS) or SQL Server Reporting Services. When such services take over the port, you may receive the following error messages:

     

    "The port(s) for worker0.gateway.port cannot be opened"

    or

    "Unable to bind port 80"

     

    To resolve these errors, you must identify whether a process is using port 80 by running Netstat, and then do one of the following tasks:

    To identify whether a process is using port 80 by running Netstat:

    Step 1

    Click the Start button.

    Step 2

    In the search box, type Command Prompt, in the list of results, right-click Command Prompt, and then click Run as administrator.

    Step 3

    Type cd c:\ to change the drive directory to c:

    Step 4

    Type netstat -aonb >output.text command.

    Note: This command produces a text file, called output.txt, and will be placed on your c:\ drive.

    1.png

    Step 5

    If the output file indicates that there are no processes using port 80, type the following command:

    • On a 32-bit machine: cd C:\Program Files\Tableau\Tableau Server\[version]\bin
    • On a 64-bit machine: cd C:\Program Files (x86)\Tableau\Tableau Server\[version]\bin

    Note: Replace [version] with the version of Tableau Server you are running.

    Step 6

    Type the following commands:

    1. 1. tabadmin stop
    2. 2. tabadmin set wgserver.port 8001
    3. 3. tabadmin set gateway.ports 80
    4. 4. tabadmin set worker0.gateway.port 80
    5. 5. tabadmin set gateway.public.port 80
    6. 6. tabadmin configure
    7. 7. tabadmin start

    Step 7

    Restart your machine to allow Tableau Server to use port 80.

    Disable the process using port 80

    If the Netstat report reveals that a process using port 80 is not needed, Tableau recommends that you disable rather than stop the process to avoid it reclaiming port 80 after the machine is restarted.

    To disable IIS:

    To disable SQL Server Reporting Services:

    Step 1

    Click the Start button.

    Step 2

    In the search box, type Reporting Services, in the list of results, and then click Reporting Services Configuration Manager.

    Step 3

    Click the Apply button.

    Step 4

    In the Reporting Services Configuration Manager dialog box, click Web Service URL, and then type"5050" in the TCP Port text box.

    2.png

    Step 5

    Click Report Manager URL, and type 5050 in the TCP Port text box.

    3.png

    Step 6

    Click OK, and then the Apply button.

    Step 7

    Restart your machine to allow Tableau Server to use port 80.

    Reconfigure Tableau Server to use a different port

    If the Netstat report reveals that a process is using port 80, you may want to reconfigure Tableau Server to use a different port.

    Step 1

    Click the Start button, click All Programs, click Tableau Server, and then click Configure Tableau Server.

    Step 2

    In the General tab, type a number other than 80 in the Port Number text box.

    Note: Tableau recommends typing "8000" because it is high enough on the port range to avoid conflict with other applications.

    Allow Tableau Server and IIS to use port 80

    For information, see Configure IIS to Coexist with Tableau Server.