I am trying to setup Spotify connect. I run the linux client on my desktop and the Android client on my smartphone. The smartphone is connected to the local WLAN. The desktop is connected to the same IP subnet via ethernet. The smartphone does not detect the desktop via Spotify Connect, though.
Everything I can find about network setup is the following useless comment:
The following IP ranges should be open on port 4070: 220.127.116.11/21, 18.104.22.168/21.
That number 21 is the prefix length
This is not even half the information necessary. 😞 I need the following information for every communication spotify requires:
For a reference example:
The desktop device has IP address 192.168.93.100
The phone has IP address 192.168.93.104
Both have outbound internet access via gateway 192.168.93.1
Spotify communications on my machine:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:4381 0.0.0.0:* LISTEN 22382/spotify
tcp 0 0 127.0.0.1:8099 0.0.0.0:* LISTEN 22382/spotify
tcp 0 0 127.0.0.1:4371 0.0.0.0:* LISTEN 22382/spotify
tcp 0 0 0.0.0.0:57621 0.0.0.0:* LISTEN 22382/spotify
tcp 0 0 192.168.93.101:46839 22.214.171.124:4070 VERBUNDEN 22382/spotify
tcp 0 0 192.168.93.101:57621 192.168.93.104:53357 VERBUNDEN 22382/spotify
The last line tells me the phone and the desktop are connected to each other. They do exchange data:
pkts bytes target prot opt in out source destination
115 33507 ACCEPT tcp -- net0 any 192.168.93.0/24 anywhere tcp dpt:57621
Nevertheless, the phone claims there are no devices to connect to, and it does not control the desktop. I'm confused. What might be going wrong?