On Windows, TCP Ports are staying in TIME_WAIT State With docker setup even after client closing

On Windows, TCP Ports are staying in TIME_WAIT State With docker setup even after client closing

Let us say I open a client connection to scheduler and submitted a task and waited for result after operation completes, closed the task. Does this process open a new port?

On Linux this is working great but in windows, port is in TIME_WAIT state

Thank you all for your help

Hi @shanmuk-quartic, welcome to Dask community!

Yes creating a Client connected to a Scheduler does open a new port for Client to Scheduler communications.

How is this a problem for you? According to this post, it is normal to see TIME_WAIT state for 2 to 4 minutes after a connexion has been closed on Windows.