It's not advice really. If it were advice, it would be something you could do.
Connecting with other professionals in various ways is all there is to building a network and anyone can do it. They just have to do it.
I always built my network mostly at local meetups and online communities.
It helps if, like in my case, are into functional programming, as people into that niche prefer working with other functional programmers.