我err_connection_refused在尝试从 Windows 访问 wsl2 (http://localhost:8000) 上运行的 django 时遇到了问题,但是当我curl http://localhost:8000从 Windows 终端 bash使用时,它工作正常。我试图为端口 8000 添加新的防火墙入站规则,但它仍然无法正常工作。还有什么我需要照顾的吗。
err_connection_refused
curl http://localhost:8000
非常感谢
django localhost windows-subsystem-for-linux wsl-2
django ×1
localhost ×1
windows-subsystem-for-linux ×1
wsl-2 ×1