Dynamic selection for network service ports?

Markus Elfring Markus.Elfring at web.de
Tue Apr 30 14:37:58 EDT 2019

> In Python, there's a certain amount of support. You can attempt to
> bind to a port, and if you fail, try the next one in a sequence.

* The zero seems to be also an usable parameter here.
  Is the system configuration documentation unclear about the applied
  value range for the port allocation?
  Can it happen that special permissions would be needed for a setting?

* How are the chances to improve programming interfaces around
  the module “socketserver”?

> It's simple, it's straight-forward, and it doesn't cause problems.

Would you like to reduce connection management difficulties because of
an error message like “OSError: [Errno 98] Address already in use”?


More information about the Python-list mailing list