打开系统配置(System Preferences.app)- 网络(Network)- 高级(Advanced)- 代理(Proxies)- Secure Web Proxy(HTTPS) 填上该安装服务器的IP和端口8080
我填的IP是本机地址127.0.0.1
接下来我使用./wechat-spider-mac启动,输出如下错误:
温馨提示:服务IP 10.2.110.55 端口 8080 请确保代理已配置
Traceback (most recent call last):
File "site-packages/mitmproxy/proxy/server.py", line 46, in __init__
File "site-packages/mitmproxy/net/tcp.py", line 579, in __init__
OSError: [Errno 48] Address already in use
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "run.py", line 38, in <module>
File "run.py", line 28, in start
File "site-packages/mitmproxy/proxy/server.py", line 55, in __init__
mitmproxy.exceptions.ServerException: Error starting proxy server: OSError(48, 'Address already in use')
[72101] Failed to execute script run
我使用的是mac,在命令行执行
mitmproxy
,然后按照readme中描述的:我填的IP是本机地址127.0.0.1
接下来我使用
./wechat-spider-mac
启动,输出如下错误:看起来像是8080已经被占用了
那么想问一下,该如何解决这个问题?