aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-29 02:00:55 +0200
committerKim Alvefur <zash@zash.se>2023-07-29 02:00:55 +0200
commit1ff9661412897a7cfa6c2ec1f1d4de7279ce9c59 (patch)
treef011ce6434ba87ea9bbc204c1ca19c8f31457419
parent6ac58a4d1c5bf619d5a345d61b4ca10cfae1a017 (diff)
downloadprosody-1ff9661412897a7cfa6c2ec1f1d4de7279ce9c59.tar.gz
prosody-1ff9661412897a7cfa6c2ec1f1d4de7279ce9c59.zip
core.portmanager: Hint at HTTP servers for conflicts over port 443
Since 443 is just as much a web port as port 80 these days, if not more. What's with port 81 here?
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 6c689c9e..c1ae0685 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -50,7 +50,7 @@ local function error_to_friendly_message(service_name, port, err) --luacheck: ig
if port == 5222 or port == 5223 or port == 5269 then
friendly_message = "check that Prosody or another XMPP server is "
.."not already running and using this port";
- elseif port == 80 or port == 81 then
+ elseif port == 80 or port == 81 or port == 443 then
friendly_message = "check that a HTTP server is not already using "
.."this port";
elseif port == 5280 then