postman出现错误Error: tunneling socket could not be established, cause=connect ECONNREFUSED

在ubuntu18.04下使用postman测试接口出现错误Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8888

奇怪,怎么请求本地8888端口呢,仔细回想了一下,前段时间使用fiddler进行抓包。fiddler抓包原理就是设置代理,意识到fiddler给系统设置了代理,所以需要取消代理。ubuntu下关于代理处理如下。

1.查看代理

env | grep -i proxy

2取消代理

Settings->Network->Nework Proxy

在此测试OK

猜你喜欢

转载自blog.csdn.net/hsy12342611/article/details/128533281