Do you have other apps running on the same box that use port 80? The best practice is to let Tableau Server be the only app that runs on the server.
Below is the suggestion from Tableau ---->To change the port 80 to 8000 in ubuntu 16.04(Tableau Server)
"Using tsm configuration set should work. Please do not modify iptables or the httpd.conf file as either could result in serious problems with Tableau Server that Support might not be able to diagnose/fix (if you've already modified the httpd.conf file, please revert any changes to it).
Tableau Technical Support can assist you in determining why tsm configuration set did not work - did you restart Tableau Server after running these commands? You'd need to restart in order for the gateway process to restart and bind to a new port.
If restarting Tableau Server does not resolve the issue, please open a case with Tableau Tech Support."
Please mark the answer as CORRECT/HELPFUL if it really helped so that it can help others as well.
Can you try this-
First run following command to disable auto port remapping, then set your ports to desired port numbers-
tsm configuration set -k service.port_remapping.enabled - v false
tsm configuration set -k gateway.public.port -v someport
tsm configuration set -k worker0.gateway.port -v someport
tsm pending-changes apply
Thanks Milan. Had high hopes with stopping the remapping but did not work
I'll open a case.
Can you please post your solution here as well for everyone's benefit, once the case gets closed.
Tableau support wasnt helpful sadly. I had to keep the standard por 80.
i was able to change the port to 8080 with the following commands with the help of Tableau Support. Please make sure you test these commands on a test environment first before making any changes to production.
Disclaimer: It might make your tableau instance unstable, please run at your on risk on a test environment which is not in use.
1. Get the node name (generally node1): tsm topology list-nodes
2. set the port: tsm topology set-ports --node-name <node name from command 1> --port-name gateway:primary --port-value 8080
3. Command 2 will ask you to restart the server. select Y on prompt. If it doesn't prompt to restart, run tsm pending-changes apply
4. You can check if port was changed: tsm topology list-ports|grep 8080
1. If some error occurs in applying changes: try disabling (enable later) external ssl first-
tsm security external-ssl disable
2. You might need to run init command again with new port-
tabcmd initialuser --server 'localhost:8080' --username 'adminuser' --password 'adminpw'
Let me know how it goes.
Hi Milan. I think I already tested that to no effect But the thing is closed for me, we already migrated Tableau to the new server and sent emails to all users telling to go and address with the port 80, even if this works we wont implement it. I'll bookmark your post just in case for future reference.