I used to be like that. Then I bought a copy of The Secret and it completely changed me. The movie itself didn't really help me that much until after I listened to Rhonda Byrnes commentary.
She was basically saying to feel good. She said to write a list of everything that makes you feel good and try to do what's on that list as much as possible. Whenever you get mad/angry/overwhelmed/stressed, hurry up and get back to that list. You really have to think about it because its probably not things like video games that might give you a temporary high and then when you turn it off you feel like you've wasted time and feel guilt. What happened with me was that I started to naturally shed all the things that were making me angry/overwhelmed/stressed/mad. I guess I had no choice seeing as I was only doing things that felt good.
I'm saying all this because if you feel lonely, you're only going to attract more loneliness. Have you ever noticed the people that lead conversations seem like they need love the least? that's not an accident. They genuinely feel good. I used to always wonder why the girls that hit on me always seemed so lonely

now I know. It was because I felt lonely and I attracted more lonely people