The TS6 Client does not display the correct IP address and also does not display the client’s country flag.
The setting to show the flags is enabled on my client:
The TS6 Client does not display the correct IP address and also does not display the client’s country flag.
The setting to show the flags is enabled on my client:
If I have to guess … The IP address which is shown to you is a private IP (10.x.x.x, 172.16.x.x, 192.168.x.x) → From such IP addresses the server is unable to get the location and therefore cannot show to you the country flag.
When connecting trough a local host connection the flags will not be recognised. This however is normal TeamSpeak behaviour.
Sorry forgot to say that this is hosted on a Netcup Rootserver.
I will look if i have a error in the Docker Config tho.
Damn guys, sorry for this useless topic. The error was on my side!
I changed the network mode to “host” in the compose and now its displaying the correct IP and also the flags. Clearly a error on my side!
Basically speaking, everything is fine with your docker configuration when a local IP is shown. You configured something like:
networks:
teamspeak_net:
driver: bridge
Docker has a “so called” bridge implemented. This bridge is a bit working like a NAT (Network Address Translation) → the incoming connection with the external IP address is “parked” within the bridge and the bridge is then communicating on behalf of the incoming connection with your teamspeak server. Please have a look on this diagram:
Please have a look here: Networking | Docker Docs
To resolve this, I would recommend to switch from a bridge network to a host network. Then, the container will directly work with the incoming IP addresses and will show correctly the country flags (as you already said ).
I also like this diagram which nicely shows the difference between bridge and host: