File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,19 @@ any web server to check it out in your browser:
29
29
30
30
The site is now available at < http://0.0.0.0:8000 > .
31
31
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
+
41
+ (As a short-cut: If you pass ` --bind 0.0.0.0 ` , the server will be reachable at [ all of the host's IP addresses] [ ] .)
42
+
43
+ [ all of the host's IP addresses ] : https://www.howtogeek.com/225487/what-is-the-difference-between-127.0.0.1-and-0.0.0.0/
44
+
32
45
## Contributing
33
46
34
47
First of all, thank you!
You can’t perform that action at this time.
0 commit comments