How can I change the port from 9987 to another

Hi there, Due to an other server using 9987 my zyxell modem wouldn’t let me forward 9987 can I change that port on the TS server end to something else?

You could either change the port of the server - and forward another one.
But as you said forward you could simply forward any external port to the internal server with port 9987.

Changing the port on the server can be done through the config.ini file.
But it is not needed.

Where is that file located? I can’t find it in the ts server root folder

This is because the file is not automatically created and needs to be manually created when needed.
This should explain everything:
https://tserverhq.com/clients/knowledgebase/132/How-do-I-use-the-ts3server.ini-file.html

Okay but thats linux we’re on windows I found the example code tough, where should I put it in the root folder where the exe is located?

Simply run this command:
.\ts3server.exe createinifile=1 default_voice_port=<port>
It will create the ini file and safe the port you specify in the command.

2 Likes

I did that

Now I’ve changed the port to 40130 I openend it on both my server and modem but nope… DM me for the ip so you can try it.

`machine_id=

default_voice_port=40130
voice_ip=
licensepath=
filetransfer_port=30033
filetransfer_ip=
query_port=10011
query_ip=0.0.0.0, ::
query_ip_whitelist=query_ip_whitelist.txt
query_ip_blacklist=query_ip_blacklist.txt
dbplugin=ts3db_sqlite3
dbpluginparameter=
dbsqlpath=sql/
dbsqlcreatepath=create_sqlite/
dbconnections=10
logpath=logs
logquerycommands=0
dbclientkeepdays=30
logappend=0
query_skipbruteforcecheck=0
query_buffer_mb=20
http_proxy=
license_accepted=0
serverquerydocs_path=serverquerydocs/
query_ssh_ip=0.0.0.0, ::
query_ssh_port=10022
query_protocols=raw,ssh
query_ssh_rsa_host_key=ssh_host_rsa_key
query_timeout=300
query_http_ip=0.0.0.0, ::
query_http_port=10080
query_https_ip=0.0.0.0, ::
query_https_port=10443
`

Can not write a how to on my tablet, but can send a link to old forum to help you.

https://forum.teamspeak.com/threads/59586-Change-Voice-Filetransfer-or-Query-port?p=247685#post247685

That’s not right.
Changing the voice port is only possible via ServerQuery / WebQuery.

You only can set the start port for the first start via parameter. It won’t change existing virtual servers.

5 Likes

Oh that’s new to me, my bad!

1 Like

You did it sir thank u very much!

Nah don’t feel bad you just gave me some misinformation but on the other hand, you’ve learned me some other basics about TS Server :wink:

twitch instagram twitter facebook