mod_console

It is possible to reload the configuration, enable or disable a module, and take a look at Prosody's internals using mod_console.

⚠️ mod_console was replaced by mod_admin_telnet in Prosody 0.8, the documentation below applies only to prior versions.

Details

mod_console allows a telnet connection to be made to the Prosody server. More detailed information is available.

Usage

    modules_enabled = {
        -- Other modules
        "console"; -- Enable mod_console
    }

Configuration

Option Default Notes
console_enabled false Whether to allow telnet connections
console_ports { 5582 } Which ports to listen on for telnet connections

Example

    modules_enabled = {
        -- Other modules
        "console"; -- Enable mod_console
    }
 
    console_enabled = true
    console_ports = { 5582, 5583 }