Cloud-enabled Management (CEM) Internet gateway setup fails to install and gives 'The handle is invalid' errors:
(Internet Gateway Manager) InternetGatewayManager.ServiceManager.RunProcessRunProcess has failed with exit code: '1', error output: 'The handle is invalid.The handle is invalid.[Timestamp] [error] (OS 2)The system cannot find the file specified. : No installed service named "Symantec Management Platform Internet Gateway".The handle is invalid.(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: could not bind to address <IP Address>:443no listening sockets available, shutting downUnable to open logsInstalling the Symantec Management Platform Internet Gateway serviceThe Symantec Management Platform Internet Gateway service is successfully installed.Testing httpd.conf....Errors reported here must be corrected before the service can be started.
--------------------------------------------------------------------------
(Internet Gateway Manager) InternetGatewayManager.ServiceManager.InstallServiceInstallService via RunProcess has failed.
ITMS 8.x
This issue happens when a service is already listening on port 443 and you try to install the Internet Gateway software. The software tries to bind to port 443 using but fails because IIS (or another service) is already bound to that port.
You can use the program TCPView which is available as part of the Windows Sysinternals Suite to find out which programs are listening on port 443:
NOTE: In multiple cases where IIS has been installed and setup to be bound to port 443 before setting up the Internet Gateway software, then simply removing the binding for https in IIS has resolved this issue.