Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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?