Difference between 5555 and 5252 port.

  • 6 July 2010
  • 2 replies
  • 16 views

Badge

hi,


For opening K2 server, in connection string we have provided port 5252 so K2 is listening this port only but in production we have firewall rules. Please let me know urgently if any specific ports needs to be opened between k2 and SQL server beacuse both are in different servers .



Currently all client and management API communications occur over TCP port 5555, except for the workflow communications, which occur over TCP port 5252.



Can anyone let me know that if port 5555 is required or not in this scenario?



Your pointers would be highly appreciated.


Thanks,


Roli



 





2 replies

Badge +8

As per K2 Installation guide, there are 3 ports used:



Host Service - Default on 5555 - Used to
communicate with the K2 Host Server (SmartObjects + Management.

Workflow Service - Default on 5252 - Used to
communicate with the workflow service. 
Discovery Service - This should be a unique port that gets assigned
to each server cluster you have in the environment. It is used by the K2
management tools to identify your clustered K2 servers in your environment. This port is only
displayed if you are installing a K2 Server Farm. By default, port49599 is used on non
NLB environments, and port 49600 is used for NLB environments.

So these 3 ports are usually required to be opened in a multi-server environment or deploying/managing from other machines. For SQL however, the default 1433 should suffice, just remember to test if SQL Reporting Services runs OK on the port you configured it.

Badge +11

You can refer to related section of K2 documentation - "Firewall Ports and K2" + some additional information can be found in "K2 and Firewalls" KB article.


 


Befween K2 and SQL all communicationg goes over configurable TCP port (by default TCP 1433 or 5022 when you use AlwaysOn end-point).


 


Between K2 and clients it is either HTTP or HTTPS ports (with preference to HTTPS and default ports) + 5555 & 5252 for thick-clients and 1024-65535 UDP configurable range for DTC  (when developer workstations running K2 Studio/K2 for Visual Studio deploy SmartObjects to K2). 

Reply