# xsql_iot_disable_connection

> Turns the IoT connector off.

> ### For an overview see page Introduction to eXtremeDB Active Replication Fabric

> ### Prototype

>         xsql_iot_disable_connection(type string, address string);

> ### Arguments

> type | The type of connector; possible values are "listen" or "connect"
> address | The connector's address as specified in the config file, e.g. `'192.168.0.1:10000'`

> ### Description

> > This function turns off the IoT connector which may have been enabled at runtime startup.

> ### Example

>         XSQL>select xsql_iot_disable_connection('connect', '192.168.0.1:10000');
>         #1
>         ------------------------------------------------------------------------------
>         1