If you’re like me and like to enjoy music without lagging, this article is for you.
Spotify uses p2p networks to distribute its music via the desktop client. Mobile and web clients do not do this.
Regardless, ISPs are becoming more like nazis and are throttling people who use p2p networks. Another issue is upload rate. I have a very low upload, and if it is utilized my ping goes to hell. I would rather not upload to listen to music.
I am a Spotify premium subscriber. I would hope that a paying customer would be an incentive to make p2p optional, but Spotify does not see it that way.
This article is for Windows. There are other open source Spotify clients such as despotify for unix-based systems.
To block Spotify p2p -
- Open up Windows Firewall in control panel
- Advanced Settings
- Inbound Rules
- Find the Spotify with UDP in its protocol column
- Double click it and say “block connection”
- Find the Spotify with TCP in its protocol column
- Double click it
- In Protocols and Ports, set Remote port to “Specific Ports”
Enter 4070, 443, 80
- In Scope, set “These IP addresses
- Add 22.214.171.124/22
- Outbound Rules
- Create New Rule
- Program … (usually C:\Users\username\AppData\Roaming\Spotify\spotify.exe)
- Repeat step 8-10
And you’re done.
Have fun listening to music without lagging.