I moved cross country alone after high school and again after college (and several times prior). It is scary every time, but I’ve had good luck with the following:
1. pick up hobbies that get you out of your home. Go take a class somewhere, photograph things outside your home, join a club, etc.
2. Be a regular wherever you go. Stick with things you try, give people a chance to get to know you and take an interest in them.
3. Don’t be afraid to make the first move. If you find someone you want to be friends with, ask them to go do something with you! Choose something you want to do anyway, and if they can’t make it, go regardless!
4. Keep contact with the people you love. I have a bi-weekly FaceTime with two of my best friends, I call loved ones when I go on long walks. The loneliness lessens when you know that there’s people who love you.