China's embassy and all its consulates in Ecuador will on Wednesday halt services to the public, it said in a statement, as the country exploded in what President Daniel Noboa called an "internal armed conflict".

"The reopening to the public will be announced in due course," the embassy said in a press release in Spanish shared on social media site WeChat.

Ecuador's president gave orders Tuesday to "neutralize" criminal gangs after gunmen opened fire in a TV studio and bandits threatened random executions on a second day of terror in the violence-riddled country.

Eight people were killed and three were wounded in attacks in the port city of Guayaquil, and two officers were "viciously murdered by armed criminals" in the nearby town of Nobol, police said Tuesday evening.

Long a peaceful haven sandwiched between top cocaine exporters Colombia and Peru, Ecuador has seen violence explode in recent years as rival gangs with links to Mexican and Colombian cartels vie for control.

After the escape of Jose Adolfo Macias, aka "Fito" -- leader of Ecuador's biggest gang Los Choneros -- Noboa on Monday declared a countrywide state of emergency and nighttime curfew.—AFP