Do you have Tableau server living on your local machine? If so, then localhost should work, otherwise "-s" needs to point at the gateway of your Tableau server (which could be the same as the DNS entry that you get to via a browser).
Are there a workaround for the issue ? I am also experiencing the same error often and then it disappears. Not sure why its giving error randomly.
*** Uncaught exception RuntimeException: java.net.UnknownHostException: localahost
*** See the logs for the stacktrace
Did you get any answer to your question? If yes, could you please share it..
It would be best to show us your complete DOS command line, a nice screen shot of the error message, and the version of tabcmd you have installed on the machine that is executing it.
Looks like you are tying to connect to server using tab-admin commands. Please try with the actual server ipaddress rather than locahost .
Logging with tabcmd can be as simple as the command above . If you receive java exceptions please make sure you have the java version up to date .