I just have friends irl. It's easier if you're in school, but once you have in-person friends you should be able to get a much better idea of what's going on in your community.
I don't "cope" with a loss of connection because I've made effort to connect myself sufficiently offline, so that I'm not experiencing a deficit (i'm not trying to sound assholish with this it's literally just what i did)
by that i mean -- i meet new people by finding out more about my community, going to local businesses and seeing what posters they've hung up, going to the library and local events even if its not something I'm super interested in, not being afraid to say hi to people in public. Specifically events with vendors, or events like public movie viewings, where everyone is united to experience something together.
Concerts are great for this as well, I've made plenty new friends at concerts. And then how do you stay connected? Phone number or email. If that's a deal breaker then I wouldn't want to hang out anyway.
It's easier when you live in a city and when you're out of high school, I will say. The craving for social connection is much easier to fill with alternative methods when you're not super isolated in suburbia, like I was in high school. If you're in high school, the craving for social connection would make sense -- it's what I and a lot of my now best friends experienced during our hs years before beocming part of a larger community.
And when it comes to wanting to meet people online, you can always come back here. I think a lot of us would be happy to connect simply over web revival, I know I would. I hope this was somewhat helpful