Both police and Millane's family opposed name suppression, which was eventually declined by Judge Evangalos Thomas.
The man's lawyer, Ian Brookie, instantly appealed the decision, which automatically imposes a 20 working day suppression under New Zealand law.
Since Millane's death, her personal Facebook page has been turned into a remembrance page now dubbed "Remembering Grace Emmie Rose Millane".
On November 29 Millane posted a black and white photo on her Facebook page. The man later accused of her murder posted a comment, calling her "beautiful" and "very radiant".
It didn't take long for people to yesterday make the connection, with one woman labelling him a "scumbag".
"u took a [sic] innocent girls life away and left her family friends and this whole world complete [sic] shattered i hope you get everything you deserve in jail."
Others added angry face emojis to his comment.
Both the posts by the accused and the woman have since been deleted from Millane's account.
The man's name was quickly circulated by social media yesterday after his name appeared in overseas media online outlets.
The breach spurred police yesterday to remind the public about the importance of respecting suppression laws.
"We would like to remind the public that whilst we appreciate the public feeling around this case, it is an offence to breach a court order such as a name suppression, and this includes naming someone who has name suppression on social media," officer in charge, Detective Inspector Scott Beard, said.
Newstalk ZB's Kate Hawkesby spoke to Justice Minister Andrew Little this morning about the fraught issues of name suppression laws.
"There is a presumption against name suppression now," Little said.
If the police found it was somebody in New Zealand who had disclosed those details that person had committed an offence, Little said.
"It is contempt of court," he said.
"These rules are in place for a reason. It seems a bit odd sometimes."
He said the accused was entitled to name suppression.