Earlier quoted context omitted.
Working in person isn't the issue here -- not having friends is the issue. People do make friends at work, and that's a good thing. But it should never be your primary place of making friends. (Friends and family won't lay you off like a job might. Having a network outside of work is critical if that ever happens.) Asking your coworkers to come into the office just so you can get some needed face time with other peop…
C'mon that's just bullshit. Once working, you spend 8h a day with a group of people. It's by far the easiest way to make friends since the needed repetition of making contact (a minimum requirement for friendship) is already solved by going to work together. Making friends as an adult is hard. Work is the easiest shortcut in establishing meaningful relationships with strangers. Edit: addressing some of the comments b…
Regarding complimenting people on the street and potentially turning it into a conversation, it takes some practice. 10 years ago when I did some solo traveling (before uni even) for the first time, I had the choice to stay inside and feel even more agony or to go out and experience social anxiety and pain. I've experienced a lot of social anxiety and pain (initially). It feels better than feeling lonely.
There are courses on how to make friends (and influence people :P, see "How to make friends and influence people", it's a book, I haven't read it though). If you really want to, you can consciously make an effort on bettering social skills and meet anyone everywhere and maintaining it.
A good channel (a bit too broad though) is Charisma on Command [1].