How can I change the port from 9987 to another // TS3

I have a teamspeak server and I am wondering how to change the port It uses, I’m running windows 10 and I have already tried putting virtualserver_port and default_voice_port in to the parameters but both dont seem to affect the port that is used.

Should that be possible on a single main-server with no license? I have tried that with no luck.

SSH with query works fine.

I can’t remember exactly what the return response was to my attempt, but I can give it another try.

I ended up making an ini-file, but what didn’t work either for the voice-port. Only for filetransfer-ports etc.

Edited …

Oh, I was missing the ‘restart server’ to complete the changes :slight_smile: Works now!

1 Like

In the ini, and command line parameter, you can only change the default_voice_port, this default is only considered when making a new server. Once you have made the server it will use the voice port it was configured with unless you edit that server, as @FakE explained above.

3 Likes

@Screech

Nice to know! Thanks :slight_smile:

1 Like

Hey guys,
on my server is already running a teamspeak3 server with port 9987. Now i want to install another teamspeak server for my friend. Obviously i need to change to port. But i don’t know how. Can someone help me? :grinning:

Have you a License for your TeamSpeak?
if you have a License and you have Admin Server Query, then you can create a second Server with a another Port via YatQa.
if not, then no you cant also run multiple instances on one vServer - one instance per IP address.
How many IP addresses you can create depends on the provider. I don’t have any recommendations about providers.

Is it possible to create a second server with a sponsered by teamspeak license?

okay thanks

You could also just use multiple docker container or VMs.

1 Like

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:

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.

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: