Closed wzjin2017 closed 6 years ago
麻烦手动执行一下 python NeteaseMusicProxy.py 看一下输出?
返回结果是
2018-09-03 08:52:26-0400 [-] Log opened. 2018-09-03 08:52:26-0400 [-] Traceback (most recent call last): 2018-09-03 08:52:26-0400 [-] File "NeteaseMusicProxy.py", line 225, in
2018-09-03 08:52:26-0400 [-] reactor.listenTCP(32794, NeteaseMusicProxyFactory()) 2018-09-03 08:52:26-0400 [-] File "/Library/Python/2.7/site-packages/twisted/internet/posixbase.py", line 495, in listenTCP 2018-09-03 08:52:26-0400 [-] p.startListening() 2018-09-03 08:52:26-0400 [-] File "/Library/Python/2.7/site-packages/twisted/internet/tcp.py", line 1363, in startListening 2018-09-03 08:52:26-0400 [-] raise CannotListenError(self.interface, self.port, le) 2018-09-03 08:52:26-0400 [-] twisted.internet.error.CannotListenError: Couldn't listen on any:32794: [Errno 48] Address already in use.
端口32794被占说明你之前helper的进程还没退出,把它kill掉再试一下。不会kill的话关掉网易云重启mac也行
为了确认一下不是别的进程占了32794端口,执行一下sudo lsof -i :32794
看看
解决了问题 感谢!
另外,All set上面有这样的信息