Last active
March 16, 2026 11:54
-
-
Save thaibert/2353403bd43684e1f92150bbef6ba3d8 to your computer and use it in GitHub Desktop.
Send a UDP broadcast packet and listen for replies (e.g. for debugging Jellyfin client discovery)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In two shells: | |
| ```bash | |
| # shell 1 | |
| socat - udp-listen:1234,reuseaddr | |
| ``` | |
| ```bash | |
| # shell 2 | |
| printf "Who is JellyfinServer?" | socat - udp:255.255.255.255:7359,broadcast,sp=1234,reuseaddr | |
| ``` | |
| This prints something of this sort: | |
| ```json | |
| {"Address":"http://10.42.0.1:8096","Id":"[a 16-byte hex id]","Name":"jellyfin-server-76f6888cf4-lt9k2","EndpointAddress":null} | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment