How to switch off the K2 server discovery feature
KB001221
PRODUCT
Introduction
It is possible within K2 blackpearl to switch off the K2 server discovery feature to ensure that developers will only be able to see their own K2 server and not those of other developers.
There are two ways of doing this:
Important: With the release of K2 4.6.9 the SourceCode.Workflow.Runtime.Management.config has been consolidated into a single configuration file called K2HostServer.exe.Config file, which is located in the K2 blackpearlHost ServerBin folder on the K2 Server. The connection strings previously stored in these files are now retrieved from theK2HostServer.exe.Config file. |
Workspace:
- Browse to C:Program FilesK2 BlackPearlWorkspaceSite
- Open Management.xml with a text editor like Notepad
- Change the <add port="49599" timeout="1000" /> to <add port="0" timeout="1000" />
Note: Altering Workspace > Management.xml file: Will cause Management Console to not search for any servers and only ones explicitly added into the Management.xml file will appear in the Management Console in Workspace |
Server:
- Browse to C:Program FilesK2 BlackPearlHost ServerBin
- Open DiscoveryService.config with a text editor like Notepad
- Change the <add key="ListenPort" value="49599" /> to <add key="ListenPort" value="0" />
Note: Altering HostServer > DiscoveryService.config file:
|