core/portmanager.lua
changeset 13255 7748dfb201de
parent 12976 ead41e25ebc0
child 13256 84c7779618b6
equal deleted inserted replaced
13254:cfd062d025b0 13255: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";