Postman can't reach localhost

后端 未结 19 1977
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:56

    In my case, I was using django-tenants and had to add the domain for the tenant in etc/hosts to get it working on localhosts. My entry for 127.0.0.1 now looks like

    127.0.0.1 localhost test.localhost

提交回复
热议问题