223 friendly_message = "check that a HTTP server is not already using " |
223 friendly_message = "check that a HTTP server is not already using " |
224 .."this port"; |
224 .."this port"; |
225 elseif port == 5280 then |
225 elseif port == 5280 then |
226 friendly_message = "check that Prosody or a BOSH connection manager " |
226 friendly_message = "check that Prosody or a BOSH connection manager " |
227 .."is not already running"; |
227 .."is not already running"; |
|
228 else |
|
229 friendly_message = "this port is in use by another application"; |
228 end |
230 end |
229 elseif err:match("permission") then |
231 elseif err:match("permission") then |
230 friendly_message = "Prosody does not have sufficient privileges to use this port"; |
232 friendly_message = "Prosody does not have sufficient privileges to use this port"; |
231 elseif err == "no ssl context" then |
233 elseif err == "no ssl context" then |
232 friendly_message = "there is no 'ssl' config under Host \"*\" which is " |
234 friendly_message = "there is no 'ssl' config under Host \"*\" which is " |