hosts - github
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| # github 140.82.114.9 codeload.github.com 140.82.114.3 github.com 199.232.69.194 github.global.ssl.fastly.net 52.217.130.0 s3.amazonaws.com 52.217.232.73 github-cloud.s3.amazonaws.com # Github Hosts # update: 2021-01-26 140.82.113.4 github.com 140.82.114.10 nodeload.github.com 140.82.113.5 api.github.com 140.82.114.10 codeload.github.com
185.199.108.153 training.github.com 185.199.108.153 assets-cdn.github.com 185.199.108.153 documentcloud.github.com 185.199.108.154 help.github.com 185.199.108.153 githubstatus.com
199.232.69.194 github.global.ssl.fastly.net 199.232.96.133 raw.github.com 199.232.96.133 raw.githubusercontent.com 199.232.96.133 cloud.githubusercontent.com 199.232.96.133 gist.githubusercontent.com 199.232.96.133 marketplace-screenshots.githubusercontent.com 199.232.96.133 repository-images.githubusercontent.com 199.232.96.133 user-images.githubusercontent.com 199.232.96.133 desktop.githubusercontent.com
199.232.96.133 avatars.githubusercontent.com 199.232.96.133 avatars0.githubusercontent.com 199.232.96.133 avatars1.githubusercontent.com 199.232.96.133 avatars2.githubusercontent.com 199.232.96.133 avatars3.githubusercontent.com 199.232.96.133 avatars4.githubusercontent.com 199.232.96.133 avatars5.githubusercontent.com 199.232.96.133 avatars6.githubusercontent.com 199.232.96.133 avatars7.githubusercontent.com 199.232.96.133 avatars8.githubusercontent.com # End of the section
|
局域网访问页面
1. 关闭你自己电脑防火墙(最简单方案)
Win11 操作:
- 设置 → 更新和安全 → Windows 安全中心 → 防火墙和网络保护
- 把专用网络、公用网络防火墙全部临时关闭
只关你自己电脑的,同事电脑不用关任何防火墙
2. 不想关全局防火墙 → 单独放行端口(推荐)
- 搜索「高级安全 Windows 防火墙」
- 左侧 入站规则 → 右侧 新建规则
- 规则类型:端口
- 协议和端口:TCP,填入你的 Node 端口(如 3000)
- 允许连接 → 全选网络 → 命名:Node 服务端口 3000,完成
1、按下 Win + R 键调出“运行”窗口。
2、输入 wf.msc 并按回车。
或
windows位置: 控制面板\所有控制面板项\Windows Defender 防火墙 - 高级设置