Search Unity

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

Question Possible to get exposed ports other than SQP and game server?

Discussion in 'Game Server Hosting' started by jackward84, Jun 25, 2023.

  1. jackward84

    jackward84

    Joined:
    Jan 26, 2017
    Posts:
    87
    If I wanted to expose a port for an http server or socket to query information about the server other than what is available from the server API or SQP, is it possible? If not, is there any plan to make it possible to request one or more additional open ports?

    Another unrelated question: currently to get the SQP port, I am using
    Server Port + 10
    . I don't know if this is always the correct port or not (so far, it always has been). The query to
    /server/{serverId}
    does not expose any information about the SQP port. So my question is: is my assumption that gamePort + 10 is always the SQP port correct? If not, can it be added to the information returned by the server API?