Three police officers were hurt in a stand-off lasting more than an hour at an apartment building in the beachside suburb of Brighton, police said in a statement. A second man had earlier been found dead from a gunshot wound, they said.
Victoria state police tried to negotiate with a man inside an apartment, they said in a post on their official account on social network Twitter, adding, "It's believed a woman is with him whom he won't allow to leave."
An hour later, police said the situation had been resolved with the woman rescued.
Three police employees suffered injuries during the incidents but they were not life-threatening, police said, without elaborating.
"The attack in Melbourne, Australia was carried out by a soldier of the Islamic State in response to the call for targeting the subjects of the coalition states," the group's Amaq news agency said.
(Reporting by Byron Kaye; Editing by Clarence Fernandez, Larry King)
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.