Difference between revisions of "Nats subscribe"
Jump to navigation
Jump to search
(11 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | nats subscribe test | ||
+ | 10:43:42 Subscribing on test | ||
+ | nats subscribe NotRealSubject | ||
+ | 10:44:24 Subscribing on NotRealSubject | ||
− | [[ | + | nats sub -s "nats://52.49.1.1:4222" MyhelloSubject |
+ | nats: error: read tcp 192.168.1.102:58994->52.49.1.1:4222: [[i/o timeout]] | ||
− | + | nats sub -s "nats://52.49.1.1:4222" MyhelloSubject | |
+ | nats: error: read tcp 192.168.1.102:58994->52.49.1.1:4222: [[i/o timeout]] | ||
+ | nats sub -s "https://50.50.50.50" MyhelloSubject | ||
+ | nats: error: dial tcp 50.50.50.50:443: i/o timeout | ||
− | {{nats}} | + | nats sub -s "wss://127.0.0.1:4222" MyhelloSubject & |
+ | nats pub -s "nats://127.0.0.1:4222" MyhelloSubject testmessage | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[nats: error: nats: no servers available for connection]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{nats}} | ||
+ | |||
+ | [[Category:NATs]] |
Latest revision as of 09:15, 21 March 2023
nats subscribe test 10:43:42 Subscribing on test
nats subscribe NotRealSubject 10:44:24 Subscribing on NotRealSubject
nats sub -s "nats://52.49.1.1:4222" MyhelloSubject nats: error: read tcp 192.168.1.102:58994->52.49.1.1:4222: i/o timeout
nats sub -s "nats://52.49.1.1:4222" MyhelloSubject nats: error: read tcp 192.168.1.102:58994->52.49.1.1:4222: i/o timeout
nats sub -s "https://50.50.50.50" MyhelloSubject nats: error: dial tcp 50.50.50.50:443: i/o timeout
nats sub -s "wss://127.0.0.1:4222" MyhelloSubject & nats pub -s "nats://127.0.0.1:4222" MyhelloSubject testmessage
Related[edit]
See also[edit]
Advertising: