This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zkonge
Recipients zkonge
Date 2019-11-24.17:04:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574615050.93.0.813655289277.issue38907@roundup.psfhosted.org>
In-reply-to
Content
In Python 3.8+, when we run the http.server in a PC that support IPv6, it will bind IPv6 socket normally. On Linux or some other platforms, it also bind IPv4, that's pretty good, but on Windows, it doesn't work and "--bind 0.0.0.0" have to be provided to make it works in IPv4 environment.
In another case, once someone only want the http.server provide service in IPv6 environment, but linux will still bind IPv4 socket automatically.

Could we add a argument such as "--ipv6-only" for http.server and open the support of Dual-Stack socket by default?
History
Date User Action Args
2019-11-24 17:04:10zkongesetrecipients: + zkonge
2019-11-24 17:04:10zkongesetmessageid: <1574615050.93.0.813655289277.issue38907@roundup.psfhosted.org>
2019-11-24 17:04:10zkongelinkissue38907 messages
2019-11-24 17:04:10zkongecreate