windows安装nodejs版shadowsocks服务器Error: bind EADDRNOTAVAI 错误

Daming 2018-01-15
0条评论 2,847 次浏览
Daming 2018-01-150条评论 2,847 次浏览

ss安装完,配置好了以后,启动sssever
报以下错误:
Your environment has been set up for using Node.js 6.11.0 (x64) and npm.

C:\Users\Administrator>ssserver
shadowsocks v1.5.3
8 Jun 13:40:26 – 989ms loading config from C:\Users\Administrator\AppData\Roaming\npm\node_modules\shadowsocks\config.json
8 Jun 13:40:26 – 989ms calculating ciphers for port 8388
events.js:160
throw er; // Unhandled ‘error’ event
^

Error: bind EADDRNOTAVAIL [ip地址和端口]
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at _handle.lookup (dgram.js:219:18)
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3

C:\Users\Administrator>

解决方案:

更改config.json,服务器IP改0.0.0.0          阿里云

0

发表评论

电子邮件地址不会被公开。