Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
yesod有一个突出的问题,它只监听 ipv6。 我在五分钟内遵循 yesod 指南,并且在运行“yesod devel”时遇到了这个问题。我现在如何修复它并启动并运行以试用该框架?我尝试编辑 myapp/dist/devel.hs 以使用带有 ipv4 地址集的 Warp 的 runSettings 而不是默认运行,但再次运行“yesod devel”只是写了 myapp/dist/devel.hs 文件。
在我的 freebsd 机器上,我只是运行#sysctl -w net.inet6.ip6.v6only=0,然后它就可以工作了!
#sysctl -w net.inet6.ip6.v6only=0