From 0c680da4cccb38c9467bce43c5f8083d8e4f1bcd Mon Sep 17 00:00:00 2001 From: lathama Date: Wed, 21 Jun 2023 11:54:50 -0600 Subject: [PATCH] Offer an example of binding to addresses other than localhost --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index fb37f777b6..850c360f09 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,10 @@ This can be done using mkdocs: $ mkdocs serve ``` +To bind to any address/interface (0.0.0.0) or an IP address use: + +``` +$ mkdocs serve --dev-addr :8000 +``` + This will generate the documentation and serve it using a webserver on localhost for viewing.