Issues
Issues copied to clipboard
Switching from httpsys to kestrel prevents Octopus startup
Severity
Manual workaround
Version
2021.2.3854
Latest Version
I could reproduce the problem in the latest build
What happened?
When changing the web server that Octopus uses from httpsys to kestrial via the .\Octopus.Server.exe configure --webServer=Kestrel command, Octopus can fail to start.
Reproduction
- Setup an Octopus server on Windows
- Switch the web server via
.\Octopus.Server.exe configure --webServer=kestrel - Run the Octopus server
Error and Stacktrace
FATAL Unhandled AppDomain exception occurred: "Failed to bind to address http://[::]:80: address already in use." System.IO.IOException: Failed to bind to address http://[::]:80: address already in use. ---> Microsoft.AspNetCore.Connections.AddressInUseException: Only one usage of each socket address (protocol/network address/port) is normally permitted.
More Information
No response
Workaround
Remove the existing https binding and re-add it. See the documented instructions for more information.