Change the NXLog Agent listening port

The information on this page only applies if you installed NXLog Platform on Linux using the CLI installer, including air-gapped installations.

NXLog Platform listens for incoming NXLog Agent connections on port 5515 by default. Use the following steps to change this port after installation.

  1. Log in to the NXLog Platform server via ssh:

    $ ssh <your_user>@<your_ip_address>
  2. Open /etc/nxp.conf and update the NXP_MINDER_AGENT_PORT setting to the new port.

  3. Restart NXLog Platform to apply the change:

    $ sudo nxp_manage.sh restart
  4. Open https://platform.nxlog.example.com/org/<org-id>/agents/settings/agent-manager, replacing nxlog.example.com with your domain and <org-id> with your organization ID.

  5. Update the port and click Save.

NXLog Platform uses the new port for new agent configurations you create from this point on. Existing agent configurations keep using the old port until you manually update them.