Sean ‘Diddy’ Combs is staying locked up after a judge Wednes­day rejected the hip-hop mogul’s proposal that he await his sex trafficking trial in the luxury of his Florida mansion instead of a grim Brooklyn federal jail. U.S.

District Judge Andrew L. Carter ruled that Combs’ plan, which included a $50 million bail offer, GPS monitoring and strict limitations on visitors, was “in­sufficient” to ensure the safety of the community and the integrity of his case. Carter, agreeing with prosecu­tors who fought to keep Combs in jail, found that “no condition or set of conditions” governing his release could guard against the risk of him threatening or harm­ing witnesses; a central charge in his case.

Combs’ lawyers were making their second attempt in as many days to spring him from the Metropolitan Detention Center, where he has been held since pleading not guilty Tuesday to charges he physically and sexu­ally abused women for years. Combs has been in federal custody since his arrest Monday night at a Manhattan hotel. A federal magistrate on Tuesday rejected Combs’ initial bail re­quest.

On Wednesday, he and his lawyers struck out with Carter, the judge who will preside over his trial. Defense lawyer Marc Agnifi­lo says he will now ask the 2nd U.S.

Circuit Court of Appeals to overturn Carter’s ruling and release Combs. In the meantime, he wants Combs moved from the Brooklyn lockup, which has been plagued by rampant violence and horrific conditions, to a j.