I've got a simple hack I employ when in a new city. All through my twenties, I moved basically every year or two. Most of the time I had a network of family or associates to drawn upon before arrival. But often, I'd find myself a complete stranger, knowing not a single soul.
What I'd do is this: find a local diner, not a touristy place, but a real local institution and landmark. And then eat dinner there every single night at the same time. If constrained budget wise, look for the early bird dinner specials. Become a regular. Trade gossip with the wait-staff, complement the cooks on their sublime creations, chat up the little old ladies, engage the workmen about their craft. After a few weeks you'll find yourself invited to birthday parties and have the opportunity to give back your own time and energy, shovelling a driveway or helping out at a food drive.
A summer time variant: farmers markets. They typically have the same vendors every week and will remember you if you purchase a quart of organic honey and ask with genuine interest questions about their practise. Offer to get them started on Facebook / Shopify. Pretty soon, word spreads and you're no longer a stranger in town!