A good way for me was couchsurfing.
Either in the hangouts as you arrived or search for other travellers in that location.
Everywhere I went till now i managed to find locals/other travelers to hang around and/or discover the countries.
You can find other travelers in the same location and time pattern here.
In Poland there are many groups on Facebook, like Looking for a traveler, with 60k+ members. The rule is to post where and when you want to go, write some short info about yourself and your idea of the trip and that’s it pretty much. There should be similar ones in other countries, I used that one several times and every time I found someone.
And maybe it’s not specifically what you’re looking for, but I used Couchsurfing for that purpose:
Credit:stackoverflow.com‘
4 Mar, 2024
5 Mar, 2024