Postman can't reach localhost

后端 未结 19 1991
Happy的楠姐
Happy的楠姐 2020-12-23 16:34

I am in a corporate env so I have to use a proxy to reach servers. This works well in postman and in browsers. What I can\'t reach is localhost in postman but I can reach lo

19条回答
  •  我在风中等你
    2020-12-23 16:51

    While attempting to Get https://localhost:5001/WeatherForecast via PostMan while developing a basic .NET Core (3.1) Web API (on Ubuntu Linux) I got the error:

    Could not get any response There was an error connecting to https://localhost:5001/WeatherForecast.

    I didn't notice the actual solution in the things to try at first, but if you check the highlighted text in the image you will see it.

    You can see that the option is turned on in PostMan by default:

    I turned the SSL Certificate Verification off and tried again and it worked.

提交回复
热议问题