# 准备工作
` 请确保PC 与机顶盒处于同一网段`
## Node环境
- 下载安装node
- 下载安装whistle
## 配置adb环境
- 下载安装adb
- 添加adb 命令到环境变量PATH
- 开启机顶盒 调试模式
- 查看机顶盒ip
- adb connect 机顶盒ip
- adb devices 查看机顶盒连接状态
- adb shell settings put global http_proxy 本机ip:端口 设置代理连接
## 配置代理
- cmd 运行 w2 start
- 点击 Create 创建规则
- 输入名称 如 Ele
- 填入 http://hy.xjkork.com/ElectricityFee redirect://http://192.168.0.105:8080/ElectricityFee/
跳转规则
此时,机顶盒如果访问 http://hy.xjkork.com/ElectricityFee 会自动跳转到 http://192.168.0.105:8080/ElectricityFee/
,请确保 该地址可访问