Software /
code /
prosody
Comparison
core/portmanager.lua @ 13251:7748dfb201de
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?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 29 Jul 2023 02:00:55 +0200 |
parent | 12972:ead41e25ebc0 |
child | 13252:84c7779618b6 |
comparison
equal
deleted
inserted
replaced
13250:cfd062d025b0 | 13251:7748dfb201de |
---|---|
48 if err:match(" in use") then | 48 if err:match(" in use") then |
49 -- FIXME: Use service_name here | 49 -- FIXME: Use service_name here |
50 if port == 5222 or port == 5223 or port == 5269 then | 50 if port == 5222 or port == 5223 or port == 5269 then |
51 friendly_message = "check that Prosody or another XMPP server is " | 51 friendly_message = "check that Prosody or another XMPP server is " |
52 .."not already running and using this port"; | 52 .."not already running and using this port"; |
53 elseif port == 80 or port == 81 then | 53 elseif port == 80 or port == 81 or port == 443 then |
54 friendly_message = "check that a HTTP server is not already using " | 54 friendly_message = "check that a HTTP server is not already using " |
55 .."this port"; | 55 .."this port"; |
56 elseif port == 5280 then | 56 elseif port == 5280 then |
57 friendly_message = "check that Prosody or a BOSH connection manager " | 57 friendly_message = "check that Prosody or a BOSH connection manager " |
58 .."is not already running"; | 58 .."is not already running"; |