Yes, that's exactly our situation.

On Wednesday, November 19, 2025 at 12:53:46 AM UTC+8 Brian Candler wrote:

> I don't think he wants to re-use the port.
>
> It sounds like he has code which hunts for a free port to bind to, in the 
> range 9000 to 9000+N. It does this by binding to a port in that range, and 
> if it fails, picking a new port and repeating.  There are multiple tasks 
> doing this concurrently, and sometimes, two tasks end up (wrongly) thinking 
> they have found the same free port.
>
> At least, that was how I understood the post - I stand to be corrected.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/d675fd7b-75b5-4462-8140-82966417dbaan%40googlegroups.com.

Reply via email to