TM1-ERR-0052 An attempt to login to the TM1 server tm1servername failed.

Product:
Cognos BI 10.1
Tm1 9.5.2

Symptom:
Error when doing a test of data source connection to a TM1 cube from Cognos Connection.

Error message:
TM1-ERR-0052 An attempt to login to the TM1 server tm1servername failed. The TM1 error code is 84. The TM1 error message is “SystemServerConnectionFailed”.

Cause:
Cognos BI does not have access to the TM1 server over the network.

Possible Solution:
Ensure that the needed ports are open in the Microsoft Windows 2008 firewall on both servers to allow connection to TM1. You set the port number to use in the tm1s.cfg file.

TM1 Admin Host port number:
5495 is the port number on which the Admin Server on this machine listens for client requests.
TM1 SSL Admin server port number:
5498
All TM1® components communicate with the TM1 Admin Server using SSL.
TM1 Client Message port number:
12345 (Your TM1 server will have a diffident port number)
This is a sample default. The system chooses the next available port number.
This port number establishes a secondary port for progress messages to use when a lengthy operation is waiting to be cancelled.

More information
http://www-01.ibm.com/support/docview.wss?uid=swg21459257