elseif port == 5280 then
friendly_message = "check that Prosody or a BOSH connection manager "
.."is not already running";
+ else
+ friendly_message = "this port is in use by another application";
end
elseif err:match("permission") then
friendly_message = "Prosody does not have sufficient privileges to use this port";
+ elseif err == "no ssl context" then
+ friendly_message = "there is no 'ssl' config under Host \"*\" which is "
+ .."require for legacy SSL ports";
end
log("error", "Failed to open server port %d, %s", port, friendly_message);
end