1NATS-SERVER(1)                   User Commands                  NATS-SERVER(1)
2
3
4

NAME

6       nats-server - manual page for nats-server 2.1.9
7

SYNOPSIS

9       nats-server [options]
10

DESCRIPTION

12   Server Options:
13       -a, --addr <host>
14              Bind to host address (default: 0.0.0.0)
15
16       -p, --port <port>
17              Use port for clients (default: 4222)
18
19       -P, --pid <file>
20              File to store PID
21
22       -m, --http_port <port>
23              Use port for http monitoring
24
25       -ms,--https_port <port>
26              Use port for https monitoring
27
28       -c, --config <file>
29              Configuration file
30
31       -sl,--signal <signal>[=<pid>]
32              Send  signal to nats-server process (stop, quit, reopen, reload)
33              <pid> can be either a PID (e.g. 1) or the path  to  a  PID  file
34              (e.g. /var/run/nats-server.pid)
35
36       --client_advertise <string>
37              Client URL to advertise to other servers
38
39       -t     Test configuration and exit
40
41   Logging Options:
42       -l, --log <file>
43              File to redirect log output
44
45       -T, --logtime
46              Timestamp log entries (default: true)
47
48       -s, --syslog
49              Log to syslog or windows event log
50
51       -r, --remote_syslog <addr>
52              Syslog server addr (udp://localhost:514)
53
54       -D, --debug
55              Enable debugging output
56
57       -V, --trace
58              Trace the raw protocol
59
60       -VV    Verbose trace (traces system account as well)
61
62       -DV    Debug and trace
63
64       -DVV   Debug and verbose trace (traces system account as well)
65
66   Authorization Options:
67       --user <user>
68              User required for connections
69
70       --pass <password>
71              Password required for connections
72
73       --auth <token>
74              Authorization token required for connections
75
76   TLS Options:
77       --tls  Enable TLS, do not verify clients (default: false)
78
79       --tlscert <file>
80              Server certificate file
81
82       --tlskey <file>
83              Private key for server certificate
84
85       --tlsverify
86              Enable TLS, verify client certificates
87
88       --tlscacert <file>
89              Client certificate CA for verification
90
91   Cluster Options:
92       --routes <rurl-1, rurl-2>
93              Routes to solicit and connect
94
95       --cluster <cluster-url>
96              Cluster URL for solicited routes
97
98       --no_advertise <bool>
99              Advertise known cluster IPs to clients
100
101       --cluster_advertise <string> Cluster URL to advertise to other servers
102
103       --connect_retries <number>
104              For implicit routes, number of connect retries
105
106   Common Options:
107       -h, --help
108              Show this message
109
110       -v, --version
111              Show version
112
113       --help_tls
114              TLS help
115
116
117
118nats-server 2.1.9                January 2021                   NATS-SERVER(1)
Impressum