VS Code 中的连接被拒绝
我是 vs code 的新手,当我尝试 POST 时收到此错误,有人可以告诉我哪里错了吗?
我已尝试关闭防火墙,但仍然没有任何反应
i'm a newbie in vs code and get this error when I try to POST, can anyone please tell me where did I wrong?
I've tried to get off my firewall but still nothing happens
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它很长一段时间,但也许其他人也会遇到这个错误。
我也是新手,就我的情况而言,我在localhost上使用https而不是http(主机和应用程序在设置中定义
。
Its long time but maybe someone else also get this error.
I am also newbie and in my case problem was that, I used https instead of http on localhost (host and app is defined in settings.json if someone wonder)
correct code is like this