From 390787d08cf2be9555232fee689ed0af38884c58 Mon Sep 17 00:00:00 2001 From: larsen0815 Date: Mon, 24 Jul 2023 20:58:14 +0200 Subject: [PATCH 1/2] Add info how to listen on any IP --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e81eee0..2e98a29 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,11 @@ If you wish to change the host/port you can do so like this: $ puppet-summary serve -host 10.10.10.10 -port 4321 Launching the server on http://10.10.10.10:4321 +To have it listen on any available IP address, specify an empty string: + + $ puppet-summary serve -host "" -port 4321 + Launching the server on http://:4321 + Other sub-commands are described later, or can be viewed via: $ puppet-summary help From e1afca8812a1b198592ab3564fb0cf0a83b75ac4 Mon Sep 17 00:00:00 2001 From: larsen0815 Date: Mon, 24 Jul 2023 21:04:01 +0200 Subject: [PATCH 2/2] Add second example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2e98a29..614f484 100644 --- a/README.md +++ b/README.md @@ -101,10 +101,10 @@ If you wish to change the host/port you can do so like this: $ puppet-summary serve -host 10.10.10.10 -port 4321 Launching the server on http://10.10.10.10:4321 -To have it listen on any available IP address, specify an empty string: +To have it listen on any available IP address, use one of these examples: $ puppet-summary serve -host "" -port 4321 - Launching the server on http://:4321 + $ puppet-summary serve -host 0.0.0.0 -port 4321 Other sub-commands are described later, or can be viewed via: