- Home /
How to Find Out Which Port [NetworkTransport.AddHost](https://docs.unity3d.com/ScriptReference/Networking.NetworkTransport.AddHost.html) Used?
The documentation for AddHost function says you can specify which port should be used or just leave it to the OS. Leaving it to the OS seems like a reasonable thing to do.
The question is where can I find which port it used?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612094747im_/https://answers.unity.com/themes/thub/images/avi.jpg)