Difference between revisions of "Nats-server"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | nats-server --user myname --pass password | ||
+ | |||
+ | [[nats-server --signal reload]] | ||
[[-cluster]] | [[-cluster]] | ||
Line 9: | Line 13: | ||
[[brew services restart nats-server]] | [[brew services restart nats-server]] | ||
+ | [[nats-server -config ./seed.conf -D]] | ||
+ | |||
+ | Test server | ||
+ | [[nats sub]] -s "nats://127.0.0.1:4222" hello & | ||
+ | [[nats pub]] -s "nats://127.0.0.1:4222" hello world_4222 | ||
+ | |||
+ | |||
+ | [[brew services restart nats-server]] | ||
+ | |||
+ | [[nats: error: nats: no servers available for connection]] | ||
+ | |||
+ | [[exec /nats-server: exec format error]] | ||
+ | |||
+ | [[nats-server -DV]] | ||
+ | |||
+ | == See also == | ||
* {{nats}} | * {{nats}} | ||
− | * {{ | + | * {{nats-server}} |
* {{NATS}} | * {{NATS}} | ||
+ | |||
+ | [[Category:NATS]] |
Latest revision as of 13:14, 8 March 2023
nats-server --user myname --pass password
nats-server --signal reload
-cluster -routes
nats-server --help brew install nats-server brew services restart nats-server
nats-server -config ./seed.conf -D
Test server
nats sub -s "nats://127.0.0.1:4222" hello & nats pub -s "nats://127.0.0.1:4222" hello world_4222
brew services restart nats-server
nats: error: nats: no servers available for connection
exec /nats-server: exec format error
nats-server -DV
See also[edit]
nats [ pub | subscribe | server | stream | reply | account | events | errors | consumer | --version | --help ]
nats-server, nats-server.conf, nats-server --help
- NATS Messaging, installation, Install NATS using docker,
nats server check, nats-server.conf, nats.ws,
4222, Synadia, Synadia Cloud, NATS JetStream, Terraform provider, Leaf Nodes
Advertising: