Security forces were deployed across the Sri Lankan capital on Friday after protesters tried to storm the president's home in anger at the nation's worst economic crisis since independence, AFP reported.

The South Asian nation of 22 million people is facing widespread shortages of essential goods and sharp price rises, weighed down by enormous debt.

Police in Colombo said they arrested 45 people after Thursday night's unrest, in which one man was critically injured.

A curfew put in place overnight was lifted early Friday morning, but police and military presence was beefed up around the city, where the burnt-out wreckage of a bus was still blocking the road to President Gotabaya Rajapaksa's house.

On Thursday night, protesters lit tires on fire to barricade a main road into the capital.

Hundreds of people, rallied by unidentified social media activists, marched on Rajapaksa's home demanding his resignation, setting two military buses and a police jeep ablaze and using bricks to attack officers.

Security forces fired into the crowd and used tear gas and water cannon to disperse the demonstrators. It was not immediately clear if they used live rounds or rubber bullets.

Rajapaksa was not at home during the melee, according to official sources, but top military officials went into a huddle to discuss the crisis.

Diesel shortages had sparked outrage across Sri Lanka in recent days, but the protests had been in various towns and not aimed at any top leader.