nondanee / UnblockNeteaseMusic

Revive unavailable songs for Netease Cloud Music
MIT License
17.44k stars 2.51k forks source link

无法连接的,请修改ip地址,操作如下 #786

Open uselibrary opened 3 years ago

uselibrary commented 3 years ago

网易将httpdns.n.netease.com解析的ip由此前的59.111.179.21359.111.179.214改为了59.111.239.62,如果遇到报错、无法连接,请将/UnblockNeteaseMusic/src/app.js的第71行,由hosts['httpdns.n.netease.com'] = random(['59.111.179.213', '59.111.179.214'])改为hosts['httpdns.n.netease.com'] = random(['59.111.239.62', '59.111.239.62'])

rsp4jack commented 3 years ago

hosts['httpdns.n.netease.com'] = '59.111.239.62'

JiayangZhou commented 3 years ago

每个人clone的版本可能不同,如果没有在71行找到 hosts['httpdns.n.netease.com'] = random(['59.111.179.213', '59.111.179.214']) 小技巧是搜索179.214然后在下面另起一行,加上 hosts['httpdns.n.netease.com'] = '59.111.239.62'

john-zhz commented 2 years ago

网易将httpdns.n.netease.com解析的ip由此前的59.111.179.21359.111.179.214改为了59.111.239.62,如果遇到报错、无法连接,请将/UnblockNeteaseMusic/src/app.js的第71行,由hosts['httpdns.n.netease.com'] = random(['59.111.179.213', '59.111.179.214'])改为hosts['httpdns.n.netease.com'] = random(['59.111.239.62', '59.111.239.62'])

第71行不是被注释掉了吗?改了有用吗

JiayangZhou commented 2 years ago

改了有用,不过最近好像又用不了了

TDSofTM commented 2 years ago

改了好像还是不行

tautomer commented 2 years ago

我这里改完IP之后uncomment第71行是可以用的

Starting unblockneteasemusic_unblockneteasemusic_1 ... done
Attaching to unblockneteasemusic_unblockneteasemusic_1
unblockneteasemusic_1  | HTTP Server running @ http://0.0.0.0:8080
unblockneteasemusic_1  | MITM > null
unblockneteasemusic_1  | MITM > null
unblockneteasemusic_1  | MITM > music.163.com
unblockneteasemusic_1  | TUNNEL - music.163.com:443
unblockneteasemusic_1  | TUNNEL - music.163.com:443
pianississimo commented 2 years ago

最近有新报错: Error: connect ECONNREFUSED 59.111.239.62:80 是不是又更新了?