Skip to content

Commit 0171ddb

Browse files
committed
Note on using --bind.
1 parent 01b804b commit 0171ddb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ any web server to check it out in your browser:
2929

3030
The site is now available at <http://0.0.0.0:8000>.
3131

32+
If you need to preview the site from another machine, pass the host's address via `--bind`. For example, if running on 192.168.72.73:
33+
34+
```console
35+
> cd site
36+
> python3 -m http.server --bind 192.168.72.73
37+
```
38+
39+
The site is now available at <http://192.168.72.73:8000>.
40+
3241
## Contributing
3342

3443
First of all, thank you!

0 commit comments

Comments
 (0)