VERIFIED SOLUTION i

Resolving Windows Socket Error when starting Send Message Service in Portrait Dialog

Issue

When trying to start the Portrait Dialogue Send Message Service the following error is seen:
- Service failed on start: Windows socket error: Only one usage of each socket address (protocol/network address/port) is normally permitted (10048), on API 'bind'
 

Cause

The Send Message Service (and the other MH services) logs to a TCP/IP port for monitoring purposes.
The default port for the service is 1100, and it will fail with this error if another process is using the same port.

Resolution

UPDATED: October 6, 2017
The Ports can be changed in the Windows Registry.
On a 32 bit server, go to HKEY_LOCAL_MACHINE\SOFTWARE\Million Handshakes\n.n\DialogServer\Monitors\Send Messages Service
On a 64 bit server go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Million Handshakes\n.n\DialogServer\Monitors\Send Messages Service
 
Environment Details
PD 5.1, 5.2