Skip to content

Commit 5d42166

Browse files
committed
Added clarification about Zeroconf ports (spocon/spocon#10)
1 parent 72460bf commit 5d42166

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ All the configuration you need is inside the `config.toml` file, there you can d
2929
This is pretty straightforward, but remember that having hardcoded passwords isn't the best thing on earth.
3030

3131
### Zeroconf
32-
In this mode `librespot` becomes discoverable with Spotify Connect by devices on the same network. Just open a Spotify client and select `librespot-java` from the available devices list.
32+
In this mode `librespot` becomes discoverable with Spotify Connect by devices on the same network. Just open a Spotify client and select `librespot-java` from the available devices list.
33+
34+
If you have a firewall, you need to open the UDP port `5355` for mDNS. Then specify some random port in `zeroconf.listenPort` and open that TCP port too.
3335

3436
### Facebook
3537
Authenticate with Facebook. The console will provide a link to visit in order to continue the login process.

core/src/main/resources/default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ storeCredentials = false # Whether to store reusable credentials on disk (not a
1313
credentialsFile = "" # Credentials file (JSON)
1414

1515
[zeroconf] ### Zeroconf ###
16-
listenPort = -1 # Listen on this port (`-1` for random)
16+
listenPort = -1 # Listen on this TCP port (`-1` for random)
1717
listenAll = true # Listen on all interfaces (overrides `zeroconf.interfaces`)
1818
interfaces = "" # Listen on these interfaces (comma separated list of names)
1919

0 commit comments

Comments
 (0)