I know that it's easier said than done, especially if you're an introvert, but try to get involved with a small online community, a discord server or a message group. Having any sort of regular interaction with others, even if it isn't face to face can help reduce feeling of loneliness. Though I hazard a guess that you might have tried that.
If you're into online gaming, perhaps find a social guild within the game. Not only will that help the loneliness, but online gaming is infinitely more enjoyable with other people.
The only other things that I can suggest is to bury yourself in a hobby that speaks to your core. Something that intrinsically makes you feel like you. An activity that not only occupies your time and thoughts, but will help revitalise your soul. It might not ease the loneliness, but it will distract your thoughts while help you feel at ease.