Closed yanover closed 2 years ago
That is the port of Spotify's Access Point you want to connect to, not the port librespot listens on.
I'm trying to run librespot on a specific port.
You can't do this. Librespot doesn't listen on any ports (other than for zeroconf). It connects to a Spotify Access Point server and communicates with other clients via this server.
EDIT: Actually, I can't' remember if this is true. Someone else can correct me here please.
There's --zeroconf-port
, which sets the port that librespot
listens on for zeroconf, which is probably what @yanover tries to do?
Yes this is the option I was looking for, I missed it in the documentation, thank you !
What is not clear to me is which port my Spotify client will listen on.
If I create a service that listens on my pod's port 4070, which port(s) should be exposed outside of the cluster to my client ?
I found in different place that spotify-connect listen on port TCP and UDP port 57621
, is that correct ?
Not a bug. Feel free to chat on https://gitter.im/librespot-org/spotify-connect-resources.
Describe the bug I'm trying to run librespot on a specific port.
To reproduce Steps to reproduce the behavior:
librespot
withlibrespot --ap-port=4070
Log
root@librespot-667cb86f5b-z2rj2:/# netstat -tulpn | grep LISTEN tcp 0 0 0.0.0.0:41561 0.0.0.0: LISTEN 18/librespot
tcp 0 0 0.0.0.0:34209 0.0.0.0: LISTEN 584/librespot
tcp 0 0 0.0.0.0:44523 0.0.0.0:* LISTEN 580/librespot