When I was debugging my server locally in a container, I provided 2 port mappings. However, after the server entered the Active state, I didn't see the port being established.
Did I understand anything wrong?
When I was debugging my server locally in a container, I provided 2 port mappings. However, after the server entered the Active state, I didn't see the port being established.
Did I understand anything wrong?
Another question is, if 2 port mappings are provided, which one is binded to the port returned by the GetMatch API?
Could you please tell us do you use the Photon bolt official PlayFab sample -- Bolt-Sample/PlayFab at master BoltEngine/Bolt-Sample (github.com)? And could you provide the MultiplayerSettings?
We can reproduce it in the local debugging of our default Unity Mirror Sample. We will dig into it.
We researched it in the Unity Mirror Sample, and we found that if you want to display the listened ports in netstat, there are some conditions need to be meet.
Have you listened the port 9080 in your server code, and have you tried to connect to it? If you have met the conditions, and the ports still can’t display in the netstat, could you please provide the main code snippet?
About the question of can’t locally debug the Bolt official sample, you may need to follow the Bolt document -- 3 - Photon Bolt PlayFab Server Integration | Photon Engine to set up the project. If you can’t enter the server(PlayFabGame) scene but always enter the client(PlayFabClient) scene, you can try to change the default scene navigation to load the PlayFabGame scene directly.
2 People are following this question.