如何解决仅 yesod ipv6 问题?
yesod 存在一个未解决的问题,它仅侦听 ipv6。< br> 我正在遵循 yesod 五分钟指南,并在运行“yesod devel”时遇到此问题。我现在该如何修复它并启动并运行以尝试该框架?我尝试编辑 myapp/dist/devel.hs 以使用 Warp 的 runSettings 和 ipv4 地址集而不是默认运行,但再次运行“yesod devel”只是覆盖了 myapp/dist/devel.hs 文件。
There's an outstanding issue with yesod where it only listens on ipv6.
I am following the yesod in five minutes guide and have this issue when running "yesod devel". How can I fix it for now and get up and running to try the framework out? I tried editing the myapp/dist/devel.hs to use Warp's runSettings with an ipv4 address set instead of the default run, but running "yesod devel" again just over wrote the myapp/dist/devel.hs file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我的 freebsd 机器上,我只需运行
#sysctl -w net.inet6.ip6.v6only=0
,然后它就可以工作了!On my freebsd box, i just run
#sysctl -w net.inet6.ip6.v6only=0
, then it works !