Skip to content

NATS Server

This module starts a NATS server that listens for incoming connections.

  • typenats.server
  • params:
    • ip: (optional, default "0.0.0.0") the IP address to bind the NATS server to
    • port: (optional, default 4222) the port for the NATS server to listen on

Start a local NATS server listening on port 5555

- id: natsServer
type: nats.server
params:
ip: 127.0.0.1
port: 4222