Unfortunately, as someone who has lived in many, many places, this is true. People are socializing everywhere and if you're lonely where you are, you will probably be lonely anywhere. Unless you're flamboyantly gay in Aleppo, or something, moving probably won't affect your ability to socialize too much.
However. I've found there is a period of increased energy upon moving to a new city. During this period, I am more open and alert, more willing to start conversations that may not end well.
When you live in a place for years, a mental cocoon forms that blocks out most of the stimuli.
I'm sorry, but that is not how it works.
You are what's making you unhappy, and that's what you have to change. The good thing is you have plenty of free time to do it in, and all the power to do it.