只能接受本地请求,改成 0.0.0.0 更好
juicechu opened this issue · comments
出于安全性 防止来自局域网内的攻击 不建议设置为0.0.0.0
On Tuesday, 2 August 2016, juice chu notifications@github.com wrote:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLuwW-LXLYdntuRJ8V0BBXd17gWGvUIks5qbwlEgaJpZM4JaZQe
.
Dazzy Ding
Email: h@dazzyd.org
这些可以让防火墙来实现,可以自己选择设置。
建议在Config.ini
中添加设置监听地址的选项,这样如需防范局域网内攻击则可设置为172.0.0.1
,如需暴露至Docker外则可设置为0.0.0.0
。一举两得同时还可增加部署的灵活性。