TeaSpeak / TeaSpeak

The TeaSpeak server issue tracker
http://TeaSpeak.de
116 stars 26 forks source link

Can't start server on windows wsl2 #719

Open vaqxai opened 8 months ago

vaqxai commented 8 months ago

I'm trying to run a teaspeak server from windows wsl2, however, when starting i get this error:

[2024-03-05 11:31:47] [INFO ]     1 | Starting server
[2024-03-05 11:31:47] [ERROR]     1 | Failed to allocate network read event for voice server binding 0.0.0.0:9987
[2024-03-05 11:31:47] [ERROR]     1 | Failed to allocate network read event for voice server binding :::9987
[2024-03-05 11:31:47] [INFO ]     1 | [Web] Starting server on 0.0.0.0,[::]:9987

The webserver as you can see starts fine, its just the UDP/9987 that has problems for some reason.

$ sudo netstat -tapneu

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 0.0.0.0:9987            0.0.0.0:*               LISTEN      1000       24132      1203/./TeaSpeakServ
tcp        0      0 0.0.0.0:10101           0.0.0.0:*               LISTEN      1000       24124      1203/./TeaSpeakServ
tcp        0      0 0.0.0.0:30303           0.0.0.0:*               LISTEN      1000       24122      1203/./TeaSpeakServ
tcp6       0      0 :::9987                 :::*                    LISTEN      1000       24133      1203/./TeaSpeakServ
tcp6       0      0 :::10101                :::*                    LISTEN      1000       24125      1203/./TeaSpeakServ
tcp6       0      0 :::30303                :::*                    LISTEN      1000       24123      1203/./TeaSpeakServ
udp        0      0 0.0.0.0:9987            0.0.0.0:*                           1000       24130      1203/./TeaSpeakServ
udp6       0      0 :::9987                 :::*                                1000       24131      1203/./TeaSpeakServ

Edit: Works on 1.4, doesn't work on 1.5

vaqxai commented 8 months ago

Even though the error appears, the server can be connected to normally, on 1.5.6, the video sharing crashed me once although I can't tell if that's related