Can't connect to Server in a UWP Build



I successfully built a UWP version of my game but in the game, I can't connect to your servers.

Everything works fine in the Editor but not in the build.

I have authorized Internet Client, Internet Client Server, PrivateNetworkClient Server and Microphone in Players Settings / settings for UWP / Publishing settings / capabilities.

Unity version : 2022.1.20f1

PUN : 2.40 Photon lib:

How can I fix this ?

Thanks !