The gunmen fired five to six rounds towards the police station at Yaripora in the district at around 5.50 PM, a police official said.
He said the militants fled from the spot, mingling with protestors who were demonstrating against the killing of three civilians in security forces firing in Chadoora area of Budgam district yesterday.
There were no reports of anyone getting hurt in the firing incident, he added.