Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    May 2017
    Posts
    8

    Spotify incoming IP addresses for LMS?

    I have LMS v7.9.0 running on a Synology DS214+. Using the great Protocol Handler, I was able to get Spotify working on all my Squeezebox Booms.
    For security reasons, I block all incoming connections and accept only IP addresses in my network. However, if I set 'Block Incoming Connections' to 'Block',
    Spotify will stop working.

    What IP addresses do I need to add to 'Allowed IP Addresses' to grant Spotify access to LMS?


    Thanks.
    Harlock

  2. #2
    Senior Member
    Join Date
    Feb 2009
    Location
    Washington, DC
    Posts
    163
    Did a quick tracert to www.spotify.com and came back with 193.235.32.166, so you might try that. Only real way to know for sure is to see if your router will do a packet capture or at least show connections when you're using Spotify when allowing inbound connections.
    "You know, I'm all for progress. It's change I object to."
    Mark Twain

    LMS 7.9 on Raspberry Pi3 w/200GB SD
    5 Receivers, 1 Boom, 2 Radios, 1 Controller, 1 iPhone & 1 iPad w/iPeng & Squeezebox Apps, 1 Android phone w/Squeezer

  3. #3
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,629

    Spotify incoming IP addresses for LMS?

    > I have LMS v7.9.0 running on a Synology DS214+. Using the great Protocol
    > Handler, I was able to get Spotify working on all my Squeezebox Booms.
    > For security reasons, I block all incoming connections and accept only
    > IP addresses in my network. However, if I set 'Block Incoming
    > Connections' to 'Block', Spotify will stop working.


    "Incoming connections" imho are something different than responses to
    request coming from the inside. Or outgoing connections. In the SB world
    you should _never_ need to open ports for incoming connections.

    > What IP addresses do I need to add to 'Allowed IP Addresses' to grant
    > Spotify access to LMS?


    Again, we need some more precision here: what access are you talking
    about? Spotify as a larger unit never accesses your LMS. LMS would
    access their services. If you're talking about the Spotify Protocol
    Handler, than check the port settings in Advanced/Spotify Protocol
    Handler. That's the port LMS uses to access SPH. Or the players use to
    stream from.
    --

    Michael

  4. #4
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    13,999
    But the protocol handler (or helper) port needs to be open, at least from the same device.
    And you'd want port 3483 to be open for the server to be found and 9000 for the server to be controlled, but that's unrelated to Spotify, of course.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  5. #5
    Junior Member
    Join Date
    May 2017
    Posts
    8
    I must be missing something here. I understand that blocking incoming connections to LMS should have no impact on Spotify. However, whenever I block incoming connections I get:

    Plugins::SpotifyProtocolHandler::ProtocolHandler:: handleDirectError (179) stream failed - bad player: -1

    and nothing plays. If I unblock incoming connections, everything works fine.

    The helper app is running and the necessary ports are open in my ASUS router to the Synology.

    This has me baffled, so any insight would be much appreciated.


    Thanks.
    Harlock

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,629

    Spotify incoming IP addresses for LMS?

    > I must be missing something here. I understand that blocking incoming
    > connections to LMS should have no impact on Spotify. However, whenever I
    > block incoming connections I get:


    Where do you block incoming connections? And what's the exact, verbatim
    name of the option?

    --

    Michael

  7. #7
    Junior Member
    Join Date
    May 2017
    Posts
    8
    In LMS, under Advanced > Security.

    Options:
    Block Incoming Connections
    Allowed IP Addresses

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,629

    Spotify incoming IP addresses for LMS?

    > In LMS, under Advanced > Security.

    Oh, in LMS itself? Hmm... I'm surprised the helper would need to talk to
    LMS. But if that's the case: enter your server's IP address, or
    127.0.0.1. The helper is running on the same machine as LMS.

    --

    Michael

  9. #9
    Senior Member jeremy's Avatar
    Join Date
    Dec 2005
    Location
    Scotland
    Posts
    137
    I had this issue a while back. After a bit of web searching I found a stack of IP addresses that Spotify uses, so many that I'm not convinced that the setting now provides any security. However, for what it's worth my Allowed IP Addresses now has the list below & Spotify works ok (now with Michael's new Spotty plugin)

    Jeremy

    192.168.1.*, 23.92.96.0, 194.71.232.0, 194.68.28.0, 194.68.176.0, 194.68.169.0, 194.68.165.0, 194.68.116.0, 194.14.177.0, 194.132.73.0, 194.132.72.0, 194.132.204.0, 194.132.196.0, 194.132.173.0, 194.132.172.0, 194.132.168.0, 194.132.162.0, 194.132.152.0, 194.103.36.0, 194.103.10.0, 193.235.51.0, 193.235.32.0, 193.235.206.0, 193.235.203.0, 193.234.240.0, 193.182.7.0, 193.182.3.0, 193.182.243.0, 193.181.4.0, 193.181.180.0, 192.165.160.0, 192.121.53.0, 192.121.132.0,78.31.8.0, 193.182.8.0,194.68.28.0,193.235.232.0,78.31.*.*,19 3.182.*.*, 194.68.*.*
    RaspberryPi3 server running Raspbian & LMS 7.9, USB hard drive
    Lounge - Transporter with -10dB internal attenuation, P2 running Squeezelite, Linn LP12/Ekos/Troika, Naim NAC102, Linn Tunebox crossover, 4 x Naim NAP250 power amps, Linn Keltik active isobarik speakers
    Office - Squeezebox Boom
    Kitchen - Squeezebox Boom
    Sunroom - Squeezebox Boom
    Bedroom - Squeezebox Radio x2
    Dining Room - SB3 & small computer speakers
    No 2 daughter's room - Squeezebox Duet Receiver

  10. #10
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,428
    Quote Originally Posted by jeremy View Post
    I had this issue a while back. After a bit of web searching I found a stack of IP addresses that Spotify uses, so many that I'm not convinced that the setting now provides any security. However, for what it's worth my Allowed IP Addresses now has the list below & Spotify works ok (now with Michael's new Spotty plugin)

    Jeremy

    192.168.1.*, 23.92.96.0, 194.71.232.0, 194.68.28.0, 194.68.176.0, 194.68.169.0, 194.68.165.0, 194.68.116.0, 194.14.177.0, 194.132.73.0, 194.132.72.0, 194.132.204.0, 194.132.196.0, 194.132.173.0, 194.132.172.0, 194.132.168.0, 194.132.162.0, 194.132.152.0, 194.103.36.0, 194.103.10.0, 193.235.51.0, 193.235.32.0, 193.235.206.0, 193.235.203.0, 193.234.240.0, 193.182.7.0, 193.182.3.0, 193.182.243.0, 193.181.4.0, 193.181.180.0, 192.165.160.0, 192.121.53.0, 192.121.132.0,78.31.8.0, 193.182.8.0,194.68.28.0,193.235.232.0,78.31.*.*,19 3.182.*.*, 194.68.*.*
    I think you need to read up a bit on networking, NAT and TCP/IP generally.
    Surely the setting inside LMS is primarily intended for controlling internal network access i.e. to block a Kids PC for example.
    Unless you have ports forwarded on your router to your LMS machine all of the above IPs should be superfluous except 192.168.1.*
    Vortexbox LMS 7.9 music on QNAP TS419p via NFS iThingys/iPeng/Tablets
    Living Room - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 -> Sony TA FE 320 -> Sennheiser RS 130 & B&W P7
    Office - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones Bedroom (TV) - Amazon Fire TV (SB Player) -> Topping TP20 -> Wharfedale Modus Cubes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •