help | 20 Connection of SwyxPhone and SwyxIt! | Use of SwyxIt! | Connection to Swyx Messenger
Connection to Swyx Messenger
Swyx Messenger uses network technologies to communicate with SwyxIt!.
Although the network traffic between Swyx Messenger and SwyxIt! never leaves the computer where they both run, that still means that network addresses and ports are used.
The address is always “localhost” (127.0.0.1). The protocol is based on HTTP and/or web sockets.
By default, SwyxIt! accepts connections from Swyx Messenger on port 5000.
Sometimes it can happen that this port is already occupied by another application. In this case Swyx Messenger would not work, and the %temp%\Swyx\Traces\ComSocket-xxx.log file would contain an error message "Can not accept network connections (port taken by another application?)”.
If this happens, the default port can be changed as follows:
1 Take a look at the output of command “netstat /a” and pick a TCP port between 1024 and 65535 that is not taken yet.
2 Stop SwyxIt!
3 Open the “%PROGRAMFILES(X86)%\SwyxIt!\IpPbx.Client.Plugin.ComSocket.dll.config” file in a text editor, change 5000 in the “https://localhost:5000” string to your selected value and save the changes.
4 Open the “%PROGRAMFILES(X86)%\SwyxIt!\SwyxIt!\settings.json” file in a text editor, change 5000 in the “comConnectionPort": 5000” string to your selected value and save the changes.
5 Start SwyxIt!
Last modified date: 09.14.2022