WELLINGTON, New Zealand — In the South Pacific, software no longer needs a hard sell.

New Zealand has long wanted to be a tech hub, but distance was an issue. Now, at a moment of political upheaval around the globe, that isolation has become a selling point.

A municipal program to fly in 100 developers next month — wine them, dine them and offer them jobs — was expected to draw 2,500 applications. But the recruitment effort, called LookSee Wellington, was besieged with more than 48,000 entries, including workers at Google, Amazon, Facebook, M.I.T. and NASA. At one point so many people checked out the program that the website failed.

For all sorts of reasons, New Zealand suddenly makes sense. The cost of living is less than in San Francisco. Commuting is less wearying. And American politics, “Brexit” and the Islamic State are on the other side of the world.

“It’s just one of those things where the stars are aligned,” said David Jones, general manager at the Wellington Regional Economic Development Agency.