首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Node.js
Express
PPA for Ubuntu
ppa:chris-lea/node.js
V2EX  ›  Node.js

我在 mac 运行 anyproxy 为啥总是说端口监听报错呢?看网上都说端口被占用,但是我 lsof 查看端口也没有查看到任何信息 我是通过 node npm 安装的

  •  
  •   bestehen · 80 天前 · 1055 次点击
    这是一个创建于 80 天前的主题,其中的信息可能已经有所发展或是发生改变。
    anyproxy
    [AnyProxy Log][2018-07-02 10:52:56]: Http proxy started on port 8001
    [AnyProxy Log][2018-07-02 10:52:56]: web interface started on port 8002
    [AnyProxy ERROR][2018-07-02 10:52:56]: websocket error, Error: listen EADDRINUSE :::8002
    [AnyProxy Log][2018-07-02 10:52:56]: error in websocket proxy: listen EADDRINUSE :::8001,
    Error: listen EADDRINUSE :::8001
    at Server.setupListenHandle [as _listen2] (net.js:1327:14)
    at listenInCluster (net.js:1375:12)
    at Server.listen (net.js:1462:7)
    at async.series.tipText (/usr/local/lib/node_modules/anyproxy/proxy.js:205:32)
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:607:21
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:246:17
    at iterate (/usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:146:13)
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:157:25
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:248:21
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:612:34
    error happened in proxy websocket: { Error: listen EADDRINUSE :::8001
    at Server.setupListenHandle [as _listen2] (net.js:1327:14)
    at listenInCluster (net.js:1375:12)
    at Server.listen (net.js:1462:7)
    at async.series.tipText (/usr/local/lib/node_modules/anyproxy/proxy.js:205:32)
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:607:21
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:246:17
    at iterate (/usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:146:13)
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:157:25
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:248:21
    at /usr/local/lib/node_modules/anyproxy/node_modules/async/lib/async.js:612:34
    errno: 'EADDRINUSE',
    code: 'EADDRINUSE',
    syscall: 'listen',
    address: '::',
    port: 8001 }
    ^Z
    [6] + 19729 suspended anyproxy
    ➜ ~ lsof -i:8001
    ➜ ~ lsof -i:8002
        1
    simonlei   80 天前
    有 proxifier ?关了试试看
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2170 人在线   最高记录 3762   ·  
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.1 · 14ms · UTC 14:23 · PVG 22:23 · LAX 07:23 · JFK 10:23
    ♥ Do have faith in what you're doing.
    沪ICP备16043287号-1