PARIS — Under pressure to resolve a crippling transport strike that is weighing on the lives of his countrymen, President Emmanuel Macron of France insisted Tuesday night that he was not giving up on a pensions overhaul that has brought thousands of workers into the streets.

If France was waiting for Mr. Macron to suggest an exit strategy for ending the onerous strike — and French media has been full of such speculation in recent days — it would have been waiting in vain: The president’s main message, in the traditional New Year’s Eve address to France, was that he was standing firm.

The strike entered its 27th day Tuesday, and is now longer than the benchmark 1995 shutdown that fatally weakened the government at the time. Most trains are still canceled across France, the subway in Paris is largely shuttered, the capital’s streets often resemble a giant parking lot, and unions look as determined as ever to face the government down.

Mr. Macron nonetheless hinted that there could be possible changes to his plan in order to get the striking rail and subway workers back to work. In his speech, he urged his own prime minister to find “a path of rapid compromise, while respecting the principles I have mentioned,” to end the strike.