* I emailed a band I liked whose song was featured as Demo Of The Month in a magazine, asking to buy all their CDs. We kept in touch, and months later they asked me for some (free) advice about setting up their website. Later again, one of their friends was looking to hire someone & they recommended me - I worked remotely for them for 10 years.
* I wrote a script in PHP and made both a free version & a paid version, then mentioned it on a forum. I got a handful of sales, but one of those customers liked the code quality so much they asked if they could hire me for contract work. That work was done remotely too.
* I went to a blogger conference overseas & before I went I made a Twitter list of all the attendees, read their tweets and made online friends with a few who I found interesting. I met some of them at the conference, and one of them I kept in touch with for a year after the conference. We grabbed some coffee when they visited my city, I mentioned I was having a slow work period, they mentioned they needed someone technical, and we worked together for a couple of years. Again, mostly remote work (though I did fly to their offices every few months).
Instead of being negative, plant the seeds now. Start making friends, keep those friendships alive, keep letting people know what you do, keep creating proof that you're good at what you do (even if it's your own projects). It's a long process and it still won't guarantee you work, but it will give you a much better chance of offers coming your way. That's what worked for me anyway.
Therefore it works for everyone.
There are lots of people that do not make friends easily. There are lots of people that do not have friends in the industry that they work in. There are lots of people that have moved very far away from any friends once or many times in the past few years and have either completely lost contact or don't have friends that would be in any position to throw other contacts your way.
So no, it is not just go make friends and everything will be great.