People confuse solitude and loneliness. They are very different.
Solitude
Solitude is when you are by yourself, in a private environment, and in the larger scope of your life you don't feel lonely. You have connections. You have good, meaningful relationships. For the time being you are alone in a room, or up on a mountain, and it is peaceful.
You are alone. You are not lonely.
Loneliness
Loneliness is the feeling that no matter where you go and no matter what you do, you are by yourself.
A lonely person can go to a concert, a party or a social event and still feel lonely. They still feel empty, like something is missing. That is really painful.
It shows that loneliness is not necessarily a matter of access to social circles. It is more like a default state. It is how a person sees themselves.
Why I say loneliness is kind of a lie
Loneliness is generated by a bleak, dark life story we tell ourselves. This is me. This is my situation. I cannot connect with anyone. I don't relate to anyone. Nobody likes me. Nobody wants me.
You can feel lonely at a party. Loneliness is not about access to people.
You could object: if the person feels lonely, isn't that true for them? That is a fair point. For the person, it is real.
It is a lie in one specific sense. It is not permanent.
What to do with it
Go inside and feel how you feel. Then step out and name it: I feel lonely.
Once you can see it from the outside, you may realize that the answer is not going to more parties or socializing more. It is about how I relate to life. It is the lens I use to look at my life and the story I am telling about it.
Loneliness is as real as the individual makes it. It is a state. It is not fixed, and it can be changed by the angle you choose to look at your life from, and by what you do with that view.