Hi. I have busy system with more then 20000 ports in use. I need to run 20-50 microservices and each of them need to listen tcp port. I want to use listen port auto allocation by specify as listen port :0 Sometimes i have errors like already listening on []:22925 that happened because port already in use when start by other service. How can i'm avoid such errors and not specify ports by hand?
-- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CACaajQvpiW14CCuxjx7%3DAMEFip-rQ7Pw1cOTDiENu_XqU_BWHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.