Here a workaround if Spotify doesn’t work behind a firewall in your office:
1) Open Spotify and enable proxy in your settings with your ip and port (in my case 10.6.222.2:3128):
and try. In my case it doesn’t work so:
2) Close Spotify and open the pref file with a text editor. The “pref” file can be found at:
[Mac] /Users/<current user>/Library/Application Support/Spotify/prefs
[Win] C:\Users\<current user>\AppData\Roaming\Spotify\prefs
if you are on Mac OSX you can open terminal and type:
open ~/Library/Application\ Support/Spotify
to open finder.
3) Open pref file with your favourite text editor (I use TextWrangler on Mac OSX) and change “https” to “http” like the image below:
and save it.
4) Restart Spotify and enjoy!