You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[91226] 2018/07/03 16:43:34.327484 [INF] Listening for client connections on 0.0.0.0:4222
56
+
[91226] 2018/07/03 16:43:34.327490 [INF] Server is ready
57
57
```
58
58
59
59
The server is started and listening for client connections on port 4222 (the default) from all available interfaces. The logs are displayed to stdout as shown above in the server output.
@@ -71,7 +71,7 @@ The NATS server uses a [text based protocol](http://nats.io/documentation/intern
71
71
Trying 107.170.221.32...
72
72
Connected to demo.nats.io.
73
73
Escape character is '^]'.
74
-
INFO {"server_id":"JUOufISZqT09TSan4iBHCJ","version":"1.0.6","git_commit":"","go":"go1.9.4","host":"0.0.0.0","port":4222,"auth_required":false,"tls_required":false,"tls_verify":false,"max_payload":1048576}
74
+
INFO {"server_id":"5o1EFgWr0QYA1giGmaoRLy","version":"1.2.0","proto":1,"go":"go1.10.3","host":"0.0.0.0","port":4222,"max_payload":1048576,"client_id":25474}
[91296] 2018/07/03 16:44:38.879546 [INF] Listening for client connections on 0.0.0.0:4222
726
+
[91296] 2018/07/03 16:44:38.879553 [INF] TLS required for client connections
727
+
[91296] 2018/07/03 16:44:38.879557 [INF] Server is ready
725
728
```
726
729
727
730
Notice that the log indicates that the client connections will be required to use TLS. If you run the server in Debug mode with `-D` or `-DV`, the logs will show the cipher suite selection for each connected client.
[98991] 2018/07/05 08:47:51.057127 [DBG] 127.0.0.1:61950 - cid:1 - TLS version 1.2, cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
734
737
```
735
738
736
739
If you want the server to enforce and require client certificates as well via the command line, utilize this example.
@@ -781,11 +784,11 @@ To enable monitoring via the configuration file, use `host:port` (there is no ex
781
784
For example, running the `gnatsd -m 8222` command, you should see that the NATS server starts with the HTTP monitoring port enabled. To view the monitoring home page, go to <ahref="http://localhost:8222/"target="_blank">http://localhost:8222/</a>.
782
785
783
786
```
784
-
[7924] 2018/03/23 11:50:25.270499 [INF] Starting nats-server version 1.1.0
0 commit comments