The Gateway is prevented from being installed or starting up when the web server port 443 is being used by another application.
To find the application using port 443:
On Windows, type the command:
netstat -aon | findstr 443
On Linux, type the command:
sudo netstat -tulpn | grep :443
The last column of the output tells you which PID is listening on that port.