django 打开http://127.0.0.1:8000/admin/,客户端就无法请求

编程小鱼酱
优质创作者: C/C++技术领域
领域专家: 游戏开发技术领域
2019-06-22 07:05:06




如题

postman 报错
```
Could not get any response
There was an error connecting to http://127.0.0.1:8000/admin_infoget/.
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
```

客户端报错

```
HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: /admin_infoget/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x03A16730>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))
```

此问题应该是服务端的问题 ,有大神帮看一下没
...全文
1269 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
tianfang 2019-06-23
  • 打赏
  • 举报
回复
输入错误了 你访问的是 http://127.0.0.1:8000/admin_infoget/.
编程小鱼酱 2019-06-23
  • 打赏
  • 举报
回复
vscode调试会有这样的问题
编程小鱼酱 2019-06-23
  • 打赏
  • 举报
回复
自己已经找到了解决办法
m0_51499873 2022-01-18
  • 举报
回复
@编程小鱼酱 大哥怎么解决的?

37,741

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧