I haven't used them much cuz I don't talk regularly to people online, but there's discord servers for a lot of things, and I've talked to a few people from there on the past and if you find the right kind of community one or two of them might just turn out to be decent people who you could talk to. But I would guess that the first step could maybe be trying out something new or something you're good at, any hobby, anything, and you could eventually find like minded people about it. Fields of study, sports, online games, idk ig there's so many people doing so many different things I would think it's very difficult to find someone who is not interested in something you are too.
Also yeah, for "someone I need to talk to at anytime", having a girlfriend/boyfriend is something that really could mean having someone for any and every thing. A best friend could also mean the same, and I guess both of these are pretty hard to just come by, but I've realised that not often that you just make a best friend. You decide to talk to someone, you decide to share a problem, something happy, something sad, and maybe they feel comfortable talking to you as well and reciprocate and that's how you make a good friend. Making good, real, trustworthy friends doesn't happen on it's own, and neither can it be forced; but nothing happens if you keep just to yourself. I personally don't like to put myself out there much, or share much, but I've been blessed to have a very good friend group, but even within it I would say that I didn't have one good friend who i could turn to for everything, till I spent time with a friend who I felt comfortable with, he shared some stuff with me I shared my problems with him and that's how I've made better friends. Being vulnerable to someone andnlying your feelings naked seems scary but to form real caring connections sometimes that's what you gotta do, otherwise it's tough to break the ice
Okay seems like I'm hitting a word limit here, but yeah, take care!