Go check your tabsvc.yml file.
Default location is:
C:\Program Files (x86)\Tableau\Tableau Server\config
look for: pgsql.port: 8060
If that doesn't say 8060 then try to connect from Tableau with whatever port it does say.
If the port isn't set to 8060 I would recommend taking the steps it takes to get it back to 8060 just for consistency.
Open Command Prompt as an Administrator
Navigate to Tableau Server bin directory
Issue the following commands:
tabadmin set <port setting name> -d (you will need to provide a list of the ports to change, one per line)
Thank you. It said something else. Weird because I never changed it. I can now connect from local and remote machines.
No problem. Tableau will automatically change it on startup if it detects the port is already in use at the time which can be caused by a number of reasons. The most likely is that the tabsvc was killed. Tableau will start up again while 8060 is still listening from the previous session so it will grab another available port.