Well, that's pretty normal. Many people don't like being approached by strangers and that's what you can expect. You're better off going to a hobby/interest group than a coffee shop or pub if you want to form friendships with people. Also to take more of an interest in the other people for their own sake, than in fixing your own loneliness.