Hosting a TeamSpeak Server at home

Hey! I’m fairly new at this whole hosting thing, so I do have a few questions. Here’s the full story:

I have my own domain that I use to host a minecraft server, and it points toward my public ip. That way I can give that out instead of just handing out my public IP just in case anybody wants to join the server. Lately, discord has been pissing me off, so I want to switch to team speak (Far superior in terms of quality). Ive been able to port forward on 25565 for MC and 10011 and 30033 for TS3, but I cant get 9987 to open properly. I contacted my ISP and they said everything looked fine on their end, no firewall blocks and nothing setup incorrectly. I used a port checker and it says 25565, 30033, and 10011 are all open and working, but 9987 isn’t. I have heard that they cant check UDP ports so I had my buddy try and join, but he couldn’t.

That being said, I believe the problem to be one of two things. Either A.) The port isn’t actually open and I have to figure it out, or B.) The server isnt listening on the correct ip (I checked the log_1 file and it says its listening on 0.0.0.0:9987, which makes no sense to me but I dont know enough to argue about it lol).

There is a third option, option C.) Im big brain and have no clue what Im doing and I broke it.

I would love to have some help if anybody could, I really do appreciate it! Let me know what information you need from me and Ill be glad to supply it!

Solution

Blockquote Well you have to do only 2 basic things for your friends being able to join your server.

Step 1

(1) open your Windows (defender) firewall settings
(2) click on the link which is highlighted red in my screenshot

(3) click the confirm settings button
(4) click the allow another program button
(5) browse to your server directory and select your ts3server.exe

Step 2

Forward the ports the server needs to your PC the server runs on in your router.

TeamSpeak

Which ports does the TeamSpeak 3 server use?

TeamSpeak 3 Clients will contact the server in the following ways: Service Protocol Local Port (Server) Remote Port (Client) Voice UDP 9987 …

Watch out not to accidentally swap TCP/UDP ports.

Your friends can join your server now just by entering your IP address.

If you don’t know your IP address click on the link:

https://icanhazip.com/

2 Likes

And has anyone else outside your network even tried to connect?
Not all router have the ability that you can use your external IP to connect back to your own network.

You as the host machine always use your LAN or Local IP.
The external IP is for the external user connections

Which Ports have you opened? Please read.
https://support.teamspeak.com/hc/en-us/articles/360002712257-Which-ports-does-the-TeamSpeak-3-server-use-

It’s normal that other clients can not use localhost when the server is not running on their local environment.

  • Just for the case. Are you sure you send the right IP?
    You may use websites like www.whatismyip.com , www.myip.com to

  • Open your router / firewall and check what setting is there for port 9987 or for the server in general.

  • Read the manual for your router / firewall.

  • Make sure your ISP allows UDP traffic.
    This is blocked in some regions especially for Voice software like us.

  • Double check that you only opened UDP for the voice part.
    Some router have problems when both protocols (TCP & UDP) are opened in one rule.

6 Likes

Hi y’all,

I’m new to teamspeak and trying to set up my TS6 server. The server is up and running on a Windows 11 box. I can connect to it from both my local LAN and by entering the WAN IP from another network with port forwarding. My plan was to use duckDNS so my friends wouldn’t have to re-enter my IP every time it changes. I also have a domain I purchased through WHOIS and it is currently using cloudflare proxy with a CNAME to my duckdns subdomain.

Once I had this all set up I connected once to my WHOIS domain and it let me in, once. But after that, whether I enter the duckdns subdomain or my WHOIS domain, I always get an error when attempting to connect to my server, “Could not resolve hostname”.

nslookup is successful and points to cloudflare’s proxies, and ping to the domains work too. I have been banging my head against a wall for 4 hours trying to understand what I am doing wrong. If anyone has experience with this and is willing to help I’d be grateful.

try

Type A

Host: choose whatever name you want to share.

ipv4: your server IP

ttl: auto

From https://noip.com/

I think your DNS record in Cloudflare needs to be DNS only, not proxied

Thank you both for your replies. I did not mention but I have tried both suggestions without success. A name record to my WAN IP results in same issue, and DNS only vs proxied does not change the outcome either. I tested again just now just in case and got same results. I have 9987 UDP forwarded to my server, is there anything else needed firewall-side that I may be missing? I am doubtful there would be an issue there since the error specifically says the hostname doesn’t resolve, but I’ve been wrong before.

I wound up having to set up a reverse proxy with caddy to redirect traffic to port 9987. I assumed teamspeak 6 client would automatically do that since if I type “my.domain:9987” it automatically removes the port, but if you do any other port it keeps it.

Check your tsserver.yaml
example : Jimmy Stark on X: "tsserver.yaml https://t.co/TqNyL5U36E #teamspeak #TeamSpeak6 #Server https://t.co/Vne55NIZcO" / X

my ts3 is on the port:9987 and my ts6 server port 9988