Unable to deploy K2 Solution (K2 Studio)

  • 24 February 2022
  • 0 replies

Userlevel 4
Badge +16


Unable to deploy K2 Solution (K2 Studio)

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.


This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


When you have a K2 Process that you would like to deploy, this fails with no errors being shown. In the bottom left-hand corner a message appears: "K2 Connection failed". 


After looking at the host server logs (Program Files (x86) > K2 Blackpearl > Hostserver > Bin) you may see the following error: "An existing connection was forcibly closed by the remote host."

Troubleshooting Steps

If you choose to test the connections via K2 Studio's Object Browser, you will see that the workflow server that is pointing to port 5252 will fail the test. This means that the port was not open.


This port will have to be opened and can be done by following these steps:

- From the Start menu, click Control Panel. 

- In Control Panel, click Network and Internet Connections.

- Open Windows Firewall > Advanced Settings > Inbound Rules. 


After doing this you should be able to deploy the solution successfully.

0 replies

Be the first to reply!