If you're in your city for school or work, it's easy to get into conversation with someone. The good old water cooler talk can lead to friendships. If you're more introverted all i can say is try to step out of your comfort zone. Even if it's hard, a small thing can have huge effects.
Maybe if you have a specific hobby, like a sport, you could join a club or workshop. You'll definitely meet like minded people every where.