Dynamic selection for network service ports?

Markus Elfring Markus.Elfring at web.de
Wed May 1 03:44:07 EDT 2019

> You'll get anything in the ephemeral ports range.

From which documentation source did you get this information for
the handling of a zero as an useful setting?

> But the other cause is that you recently shut the server down,
> and the port is still in the TIME_WAIT state.

Does this technical detail occasionally increase the need to choose
an additional number for a quickly restarted service in a dynamic way?

> You can avoid this with the SO_REUSEADDR flag.

Can such a configuration parameter be used also together with
programming interfaces from the module “socketserver”?


More information about the Python-list mailing list