Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

Is it possible to set client local endpoint port with Untiy transport package?

Discussion in 'Unity Transport' started by arielsan, Aug 27, 2020.

  1. arielsan


    Dec 3, 2013
    I have a server with only a port range unblocked and was wondering if there is a way to specify the local endpoint port in the client side. I checked the tutorials and the tests and even the code (with rider decompilation) and couldn't find a way to do that but I might be missing some API.

    BTW, found a way to control the server firewall but I think this could be a normal case, where the server needs to block ports for security and only allow some port range, so I'm still interested in this feature.
  2. FakeByte


    Dec 8, 2015