Troubleshooting

Use token-based authentication

NATS supports server authentication by default. To secure the server from remote connections, you can configure NATS to use a token instead of a username and password. Follow these instructions:

In the /opt/bitnami/nats/conf/gnatsd.conf file, edit the “Authorization for client connections” section to comment the “user” and “pass” lines and uncomment the “#client_token” line. Your file must change from: