Queens City Councilman Rory Lancman with Mayor Bill de Blasio in October. William Farrington

A city Councilman from Queens has launched a blistering attack against Mayor de Blasio, saying he should “man up” for actions that led to investigations of his administration instead of trying to shift the blame to others.

“The mayor has got to get a hold of himself. The mayor needs to address the mess he created and not besmirch other Democratic leaders, whether it be the governor, county leaders who have their own constituency or District Attorney Cy Vance,” said Councilman Rory Lancman, who represents eastern Queens.

“The mayor is acting irresponsibly for the problems he created. He’s opening the door to a 2017 challenger who can work well with other elected officials to deliver for New York. He should man up. He has to own up to the mess he created.”

Lancman said he has “not committed” to supporting de Blasio’s re-election and doesn’t “ know anyone who has.”

Lancman said the inquiries are serious, adding, “Have you seen the list of council members who are defending him? I haven’t see any.”

The councilman said he has supported some of the mayor’s initiatives, such as universal pre-K and criminal justice reform.

But Lancman said de Blasio has been politically clumsy and inept, citing his delayed endorsement of Hillary Clinton for president and his decision in 2014 to personally raise funds to try to flip the state Senate from Republican to Democratic control.

The mayor’s solicitation of campaign funds for upstate Senate Democratic candidates from donors with business interests before the city is the subject of federal and state probes.

“You don’t think the Senate Republicans are going to run against the mayor and his machinations in races this year?,” Lancman said.

City Hall had no immediate comment on Lancman’s criticisms.

But de Blasio campaign spokesman, Andrew Friedman, defended the mayor’s conduct, insisting the mayor abided by the law “at all times.”

Friedman also repeated the claim that mayor is being subjected to a politically-motivated double standard.

“There have been serious questions raised about conflicts of interest, selective enforcement and politicized investigations by state agencies,” Friedman said.