Error: "The TCP/IP connection to the host $SERVERNAME, port $PORT has failed" is Written to the Application Server Log Files When Starting the P6 Deployment, Connecting to a SQL Server Database, Causing P6 to Be Inaccessible
(Doc ID 1914678.1)
Last updated on DECEMBER 04, 2019
Applies to:Primavera P6 Team Member - Version 8.3 and later
Information in this document applies to any platform.
When attempting to start the deployment of P6, the following error occurs (which is written to the application server logs) causing the deployment to fail, resulting in inability to connect to P6:
Truncated. see log file for complete stacktrace
Caused By: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host $SERVERNAME, port $PORT has failed. Error: "null. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
The issue can be reproduced at will with the following steps:
- Start the managed server hosting P6, which will start the deployment.
- Note the error which occurs at starting of the deployment.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document