D3 Tutorials
O'Reilly Interactive Data Visualization for the Web, 2nd Edition
程式碼下載: github

lab03 Python Web Server 指令 http.server / localhost

本地伺服器 localhot (不經網絡卡傳輸,不受網路防火牆和網絡卡限制。)
本機伺服器 127.0.0.1 (通過網絡卡傳輸,依賴網絡卡,受到網路防火牆和網絡卡限制。)
Python 快速建立簡單網頁伺服器
使用 Python http.server 模組建立網頁伺服器 HTTP web sever。 用瀏覽器瀏覽目錄裡的檔案!也可以顯示目錄中的靜態網頁
localhost,別台電腦無法連進來。
使用 Chrome 瀏覽器打開 http://localhost:8000/index.html 網頁,或打開 http://127.0.0.1:8000/index.html 網頁。

localhost (指定 port 8888),別台電腦無法連進來。
使用 Chrome 瀏覽器打開 http://localhost:8888/index.html 網頁,或打開 http://127.0.0.1:8888/index.html 網頁。
Reserved Private IPv4 Network Ranges
Class Range Range Number of addresses
A 10.0.0.0 10.255.255.255 16,777,216
B 172.16.0.0 172.31.255.255 1,048,576
C 192.168.0.0 192.168.255.255 65,536
Private IPv4 Network,內網裝置可以透過這個 IP 連到本機的網頁伺服器。
使用 Chrome 瀏覽器打開 http://localhost:8000/index.html 網頁,或打開 http://192.168.0.2:8000/index.html 網頁。
--allow-file-access-from-files
--disable-web-security
D3 template