Hey there.
Inside your server you will see console with such lines. There you will be able to find your teamspeak query port.
2021-01-19 21:44:48.193209|INFO |Query | |Using a query thread pool size of 2 2021-01-19 21:44:48.277829|INFO |VirtualServerBase|1 |listening on 0.0.0.0:12129, [::]:12129 2021-01-19 21:44:48.278108|INFO |Query | |listening for query on 0.0.0.0:12129, [::]:12129 2021-01-19 21:44:48.278382|INFO |Query | |listening for ssh query on 0.0.0.0:10022, [::]:10022 2021-01-19 21:44:48.278503|INFO |Query | |listening for http query on 0.0.0.0:10080, [::]:10080 2021-01-19 21:44:48.278678|INFO |CIDRManager | |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128,