It must be a different geography/culture thing but if I want to deal with loneliness a bar or a pub is probably the last place I'd go looking for people to spend time with drunk. Hobbies, workshops, sports are the venues that work. For me letter writing seems to work - but very little. Met some friends and if they are from nearby cities or my own city then we kind of make time to meet et cetera. But it's not sustainable.
What this article lists is more like - there is already a group of friends who meet at a reserved table regularly. How does it even begin to work against loneliness? Loneliness IMHO is when you have no one to spend time with or they can't make time or you can't make time.
It comes down to this - you might want to figure out what kind of person you are early in life (as in mid 20s early) and what do you need in life in terms of company and possibly work on possible loneliness later in life - or plan against it - but that doesn't happen, does it? Also, at least in our generation's case, the social scene changed faster than one could cope and the COVID was almost like pulling the rug. Before and after were so different that felt unrecognisable. I have friends who loved the closed world of COVID and couldn't care less about the lack of people who give them their time and want their time, on the other hand there are people like me who are getting more miserable everyday for the lack of it and now wonder whether going for marriage probably would have been a better decision practically and realistically. Then you wonder maybe not.
My fight against it is by keeping very fit, resuming running, resuming reading (as in active reading otherwise it never stopped), get into cinema (again actively - join some film clubs/forums etc), multiple weekly sports (and one daily), and starting gym (which is part of keeping fit of course) et cetera. And the most important - I am still dealing with it - is fighting procrastination. The keeping fit part really helps, it might not seem so. But it does. It helps both physically and mentally.