欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

基于Postman中的报错

程序员文章站 2022-05-31 19:48:38
Postman中的报错: Could not get any response 错误 Could not get any response There was an error connecting to http://127.0.0.1:8888/api/private/v1/login. Why ......

postman中的报错:

could not get any response 错误

could not get any response
there was an error connecting to http://127.0.0.1:8888/api/private/v1/login.
why this might have happened:
the server couldn't send a response:
ensure that the backend is working properly
self-signed ssl certificates are being blocked:
fix this by turning off 'ssl certificate verification' in settings > general
proxy configured incorrectly
ensure that proxy is configured correctly in settings > proxy
request timeout:
change request timeout in settings > general

  原因:为打开接口文件 app.js

解决方法:

api项目中 shift+右键  打开命令行输入:node app 运行

报错解决!