Windows CDP Server — Running IIS Error Failed To Bind To Port 80 In Use
Symptom
Error in the server-log.txt log file:
Cause
Running IIS on Windows CDP Server
Microsoft Internet Information Services (IIS, formerly called Internet Information Server) is a set of Internet-based services for servers using Microsoft Windows.
The CDP Server has its own embedded web service. If you are running IIS on the same Host, IIS is probably already bound to port 80 and 443.
Resolution
You need to shutdown IIS. Then start or restart the CDP Server service. ISS is not required to run the CDP Server. If you really need to run IIS on the Host, you can change the ports in Options > Server Settings in the CDP Server Web Interface to use a different port. Then restart IIS.
Our Linux installer is a bit cleaner as it will detect that port 80 or 44s are in use and prompt you for alternative ports. We included this feature in the Linux installer because it was very easy. We are embarking on a bunch of improvements to our installers and the Windows installer will eventually have the same detection.
Related Articles
| Page: Windows CDP Server — Running IIS Error Failed To Bind To Port 80 In Use (Archived Knowledge Base 2.0) Labels: port |
| Page: Required Ports, Network Access List, And Firewall Rules (Archived Knowledge Base 2.0) Labels: network, port, api |
| Page: Tips To Using The r1key Utility To Avoid Errors (Archived Knowledge Base 2.0) Labels: port, network |
| Page: CDP Server Using TCP Ports Above 31000 (Archived Knowledge Base 2.0) Labels: port |
| Page: Changing Ports The CDP Server Uses Without Logging Into The Web GUI (Archived Knowledge Base 2.0) Labels: port |
| Page: Private and Public IP Usage (Archived Knowledge Base 2.0) Labels: ip, port |
| Page: Same IP But Different Ports (Archived Knowledge Base 2.0) Labels: ip, port |
Comment #1 (Posted by Chris Bauer)
CDP's java webserver can be configured in .\data\settings\settings.properties to specify alternate ports. Keys buserver.web.http.port and buserver.web.https.port funilly enough. I make no guarantee that the default ports aren't expected elsewhere in the app, however. ![]()