A connection depends on more than an allow rule. The client must resolve the intended name, choose an appropriate route, pass the applicable network controls and reach a listening application. Diagnose those layers separately. Changing an unrelated field can hide the original failure without explaining it.
A private endpoint supplies a private service connection, but the client still needs the correct DNS and network path. Peering also has limits; don't assume that a chain of peerings provides transit between every network. These exercises assess your next diagnostic step from the stated evidence. They don't send packets, configure live DNS or measure connectivity to an Azure service.
Choose the evidence that isolates the failing layer.