vmq-admin listenercommand let's you configure, start, stop and delete listeners on the fly. Those can be MQTT, WebSocket or Cluster listeners, in the command line output they will be tagged mqtt, ws or vmq accordingly.
1884and IP address
192.168.1.50. If you want to start a WebSocket listener, just tell VerneMQ by adding the
--websocketflag. There are more options, mainly for configuring SSL (use
vmq-admin listener start --help).
--kill_sessionsswitch to that command. This will disconnect all client connections setup by that listener. In combination with a mountpoint, this can be useful for terminating clients for a specific application, or to force re-connects to another cluster node (to prepare for a cluster leave for your node).