Adam Le Roi, 25, was stabbed in the chest at Kayley House on New Hall Lane in Preston on Sunday, November 15.
Emergency services were called to the scene at around 2.20am, but he died in the Royal Preston Hospital.
A post-mortem examination found the cause of his death was multiple stab wounds.
Video shows man in van wielding weapon in Preston city centre fight
Dramatic reduction in speed limit on major route into Preston through South Ribble
Lewis Turner inquest: moped rider "travelling at motorway speeds" on residential New Longton road and without fastened helmet before fatal crash
Real Housewives of Cheshire: former star of hit TV show set to visit Chorley boutique
Lancashire Police investigate after man found critically injured outside Preston’s Harris Museum
Connor Rumble, 25, and Grant Gardner, 24, who also live at Kayley House, are accused of his murder.
Rumble, wearing a grey jumper and white face mask, appeared separately to his co-defendant due to distancing guidelines.
He was asked to pull down his mask to confirm his full name to the court, before the case was committed to Preston Crown Court,
The clerk informed him the court had no powers to deal with a bail application and he was remanded in custody until his appearance at the higher court on Wednesday.
The dock was cleaned before Gardner, sporting a black eye, was brought in by two guards.
Gardner's case was also committed to the Crown Court.
The Lancashire Post is more reliant than ever on you taking out a digital subscription to support our journalism. For unlimited access to Lancashire news and information online, you can subscribe here.