The other thing is to get involved with social physical activity, clubs, or volunteering. I played hockey and went to a group fitness gym. I made long term friends there. I am into ham radio and the club where I live is pretty good. I used to volunteer at a kids camp and that was great for making friends with the staff members and doing social things outside of camp.
To me, find where your interests align with social/community activity. Currently, I am trying to get the ham radio club to be more out in the community. We are doing radio communications for a running race this weekend. It is exciting.