相关疑难解决方法(0)

邮差无法访问localhost

我在企业环境中,所以我必须使用代理来访问服务器.这适用于邮递员和浏览器.我无法联系的是postman中的localhost,但我可以在浏览器中访问localhost.

我正在运行Postman for Linux Version 6.0.9.我尝试使用localhost:9082/rest/myapi ....和127.0.0.1:9082/rest/myapi,同时打开全局代理和系统代理,并打开并打开非.在所有情况下,我都无法访问localhost.

我得到的响应是来自代理服务器的错误页面!不管怎样,呼叫都会在网络上传出,而不是留在我的机器上.

邮差控制台:

我的请求标题是:

Cache-Control ?no-cache
Connection ?Keep-Alive
Content-Length ?986
Content-Type ?text/html; charset=utf-8
Pragma ?no-cache
Proxy-Connection ?Keep-Alive
Run Code Online (Sandbox Code Playgroud)

我的回复标题是:

cache-control:"no-cache"
pragma:"no-cache"
content-type:"text/html; charset=utf-8"
proxy-connection:"Keep-Alive"
connection:"Keep-Alive"
content-length:"986"
Run Code Online (Sandbox Code Playgroud)

我的回复正文是一个HTML页面.

我如何打电话localhost与邮递员合作?

proxy postman

23
推荐指数
6
解决办法
4万
查看次数

标签 统计

postman ×1

proxy ×1