Stop MongoDB Connector

You can stop MongoDB Connector by using one of the following procedures.

To stop MongoDB Connector

  • Send the Stop service action to the service port.

    http://host:ServicePort/action=Stop

    where:

    host is the host name or IP address of the machine where MongoDB Connector is installed.
    ServicePort is the MongoDB Connector service port (specified in the [Service] section of the configuration file).
  • On Windows, if MongoDB Connector is running as a service, stop MongoDB Connector from the Windows Services dialog box.
  • On Linux, if MongoDB Connector is running as a service, use one of the following commands:

    • On machines that use systemd:

      systemctl stop mongodbconnector

    • On machines that use system V:

      service mongodbconnector stop

  • On Linux, if you started MongoDB Connector with the script start-mongodbconnector.sh, run the script stop-mongodbconnector.sh which is provided in the installation directory.