overshard / docker-teamspeak

A nice and easy way to get a TeamSpeak server up and running using docker.
https://github.com/overshard/docker-teamspeak
Other
106 stars 50 forks source link

Cannot connect to query port #27

Closed kill0rz closed 6 years ago

kill0rz commented 6 years ago

Hi,

I cannot connect to the query port. Is there something wrong with my configuration?

docker-compose.yml:

  teamspeak:
    image: overshard/teamspeak
    volumes:
        - './data/teamspeak/:/data/'
    ports:
        - '9987:9987/udp'
        - '30033:30033'
        - '10011:10011'
        - '41144:41144'
    restart: always

  teamspeakbot:
    image: galexrt/jts3servermod
    volumes:
        - './teamspeakbot/config/:/jts3servermod/config'
    restart: always
    links:
      - teamspeak
    ports:
        - 8087:8087

The server is starting up correctly and I can connect to it via telnet or TS3 client. But any software using the queryport is giving errors, e.g. the JTS3Servermod bot (as in docker-compose file) or a simple TS3 web-viewer.

bufanda commented 6 years ago

You might to whitelist the teamspeakbot machine for teamspeak E.g.:

volumes: - ./data/teamspeak/query_ip_whitelist.txt:/opt/teamspeak/query_ip_whitelist.txt

where 'query_ip_whitelist.txt' contains

127.0.0.1 172.16.0.0/12

This worked for me. If you look into the output of teamspeak with docker-compose logs teamspeak you might see the connection attempts and the response of the server, where it says that query was blocked from local network.

kill0rz commented 6 years ago

Aaahh! So many hours of troubleshooting :sob: Adding 172.16.0.0/12 fixed everything. Thank you very much! =)

bufanda commented 6 years ago

No Problem. Had the same issue when I was setting up the TS3 Webinterface ;)