-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(deployment): update the description for hostname (#3994)
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adca166
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
既然hostname 为 '0.0.0.0'不安全,为什么egg默认情况下监听ipv4(0.0.0.0)和ipv6(::),为什么不监听'127.0.0.1'。
如果默认监听'0.0.0.0'不安全,egg的默认配置就存在安全问题
How To Reproduce
netstat -an | grep 7001
print
tcp6 0 0 :::7001 :::* LISTEN
print
Context
结论