A 44-year-old man has been remanded in custody after he was charged with possessing a revolver and six bullets at a lane-way beside a pub in Dublin.

Vincent Maher, who is of no fixed abode, appeared before Judge Anthony Halpin at Dublin District Court on Thursday to face two charges under the Firearms Act.

He is accused of unlawful possession of a Smith & Wesson revolver and six rounds of ammunition at a lane at the side of the Berkeley Public House, Mountjoy Street in Dublin's north inner city on Tuesday.

Dressed in a navy Nike sweater, dark blue jeans and black runners, he remained silent throughout the hearing.

Detective Declan O'Reilly of the Garda Drugs and Organised Crime Bureau, told Judge Halpin the accused "made no reply" when he was charged at Store Street Garda station.

He said it would take eight weeks for directions from the DPP to be obtained.

Defence solicitor Philip Hannon said there was no application for bail at this stage.

Mr Maher, who hasn't indicated how he will plead, was granted free legal aid and was then remanded in custody to appear at Cloverhill District Court next Thursday.