@@ -323,7 +323,7 @@ curl -X POST -k http://localhost:8081/v1/control/removenode -d '{"name":"node5"}
323
323
avalanche-network-runner control remove-node \
324
324
--request-timeout=3m \
325
325
--log-level debug \
326
- --endpoint=" 0.0.0.0 :8080" \
326
+ --endpoint=" localhost :8080" \
327
327
node5
328
328
```
329
329
@@ -338,7 +338,7 @@ curl -X POST -k http://localhost:8081/v1/control/restartnode -d '{"name":"node1"
338
338
avalanche-network-runner control restart-node \
339
339
--request-timeout=3m \
340
340
--log-level debug \
341
- --endpoint=" 0.0.0.0 :8080" \
341
+ --endpoint=" localhost :8080" \
342
342
node1
343
343
```
344
344
@@ -353,7 +353,7 @@ curl -X POST -k http://localhost:8081/v1/control/addnode -d '{"name":"node99","l
353
353
avalanche-network-runner control add-node \
354
354
--request-timeout=3m \
355
355
--log-level debug \
356
- --endpoint=" 0.0.0.0 :8080" \
356
+ --endpoint=" localhost :8080" \
357
357
node99
358
358
```
359
359
@@ -368,7 +368,7 @@ curl -X POST -k http://localhost:8081/v1/control/pausenode -d '{"name":"node99",
368
368
avalanche-network-runner control pause-node \
369
369
--request-timeout=3m \
370
370
--log-level debug \
371
- --endpoint=" 0.0.0.0 :8080" \
371
+ --endpoint=" localhost :8080" \
372
372
node99
373
373
```
374
374
@@ -381,7 +381,7 @@ curl -X POST -k http://localhost:8081/v1/control/resumenode -d '{"name":"node99"
381
381
avalanche-network-runner control resume-node \
382
382
--request-timeout=3m \
383
383
--log-level debug \
384
- --endpoint=" 0.0.0.0 :8080" \
384
+ --endpoint=" localhost :8080" \
385
385
node99
386
386
```
387
387
@@ -412,7 +412,7 @@ curl -X POST -k http://localhost:8081/v1/control/attachpeer -d '{"nodeName":"nod
412
412
avalanche-network-runner control attach-peer \
413
413
--request-timeout=3m \
414
414
--log-level debug \
415
- --endpoint=" 0.0.0.0 :8080" \
415
+ --endpoint=" localhost :8080" \
416
416
--node-name node1
417
417
```
418
418
@@ -425,7 +425,7 @@ curl -X POST -k http://localhost:8081/v1/control/sendoutboundmessage -d '{"nodeN
425
425
avalanche-network-runner control send-outbound-message \
426
426
--request-timeout=3m \
427
427
--log-level debug \
428
- --endpoint=" 0.0.0.0 :8080" \
428
+ --endpoint=" localhost :8080" \
429
429
--node-name node1 \
430
430
--peer-id " 7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg" \
431
431
--message-op=16 \
@@ -442,7 +442,7 @@ curl -X POST -k http://localhost:8081/v1/control/stop
442
442
# or
443
443
avalanche-network-runner control stop \
444
444
--log-level debug \
445
- --endpoint=" 0.0.0.0 :8080"
445
+ --endpoint=" localhost :8080"
446
446
```
447
447
448
448
Note: this does not stops the server.
0 commit comments