awsnats

Understand the default configuration

NATS configuration files

The NATS configuration files are in the /opt/bitnami/nats/conf/ directory.

NATS ports

By default, the NATS server runs on port 4222. Only conections from localhost are permitted.

To connect to NATS you need to use a client such Golang. Check the How to connect to NATS to learn how to use a Golang NATS client to connect to the server.

Other available ports are the following:

  • Clustering: 6222
  • Monitoring: 8222
  • Monitoring over HTTPS: 8443

NATS log files

The NATS log file is /opt/bitnami/nats/logs/nats-server.log.

Last modification December 21, 2022