How to Fix Firewall May Be Blocking Spotify Error

Spotify firewall blocking error on my Mac.

Have you ever met this weird error while running Spotify on your Mac? You opened the Spotify app and tried to log in, but it prompted with a message like this:

“A firewall may be blocking Spotify. Please update your firewall to allow Spotify. Additionally you can try changing the currently used proxy settings (Error code: 17)”

Honestly, I have no idea what this Spotify error is all about — update firewall? proxy settings? What do these tech jargons actually mean?

I was completely lost….but fortunately, the problem isn’t hard to be solved. All you have to do is to change the country settings and the error code would be gone.

I’ll show you how to do that step by step.

Also Read:

Why Can’t I Log In Spotify?

I am yet to find a reliable source about the real cause, but my hunch is: you are either using a different network with a foreign IP address, or you are traveling outside of your country.

Because Spotify has different settings and pricing structures among different countries. For example, Spotify Premium isn’t available in many countries besides the US and UK. In fact, Spotify (the free version) isn’t available to use at all in certain countries/areas. You can see this full list for more.

My point is — due to the availability, presence, and complexity of Spotify among different countries, it’s likely that you’ll encounter some errors similar to the above one especially if you’re currently traveling outside of your home country.

Efforts I Tried But Didn’t Work

First off, I clicked the Proxy Settings link and followed a piece of advice found online saying setting it to “No Proxy” would help, but it didn’t.

(No, even if I disabled the proxy option, it didn’t work and I couldn’t log in to Spotify)

I also uninstalled and reinstalled Spotify from scratch, because the official Spotify website has this guide saying:

“Reinstalling gives the app a new lease of life, fixing many common issues you may be experiencing.”

Nope, it didn’t help either. I still couldn’t log in to my account and the same “firewall may be blocking Spotify” appeared.

The Solution: Change Country in Setting

This actually took me quite a while to find out, and IT WORKS. Here is how to do that step by step.

Step 1: Log into Spotify. Click this link https://accounts.spotify.com/en/login and input your Spotify username and password.

Step 2: Click “Account” under “Profile”.

Step 3: Under “Account overview” tab, click the black “EDIT PROFILE” button.

Step 4: Change the Country to another one that you’re currently located.

Step 5: Click the green “SAVE PROFILE” to save your edits.

Step 6: Now quit your Spotify app and relaunch it on your Mac. Boom, it should work now.

Let me know how it goes? Did this trick help solve the problem? Does the error still show up when you attempt to login to your Spotify account? Leave a comment below.

If it works out for you, kindly share this article on social media to help others who might be facing the same issue. You’re helping them save time to find the real solution that works.

16 thoughts on “How to Fix Firewall May Be Blocking Spotify Error”

  1. I’m located to another country right now, I’m a premium user but when I tried your suggestion I’m not a premium user anymore

    Reply
  2. Thanks so much Jessica!! It works perfectly for me 🙂 I have been trying to solve the issue for a while and your article just saved me. Many thanks !!

    Reply
  3. Nope, no luck for me… I can only change the country if I’m a free user. With Premium account, you cannot change it (it’s greyed out). But it shows the correct country anyway (Hungary).
    The error code is 18 for me, everything else is the same, as you experienced and showed it. No idea what to do, because the solutions for code 18 are for an installation problem, but I have a login problem like above…

    Reply
  4. sorry but i have done what you have told on your post. Still cant login on pc app. i can login with my previous pc but cant after i bought a new one

    Reply
  5. Unfortunately this didn’t work for me since, as a premium member, in order to change my country they wanted me to input a new method of payment from the new country.

    Reply
  6. Interestingly this did work, although my country was already set to the correct one. I just re-selected it and saved the profile and it worked. Thanks!

    Reply
  7. Jessica,
    What a HUGE help to me getting Spotify back and working for me. I really can’t thank you enough. Me and the boys are making plans for Bonnaroo and I need my music.
    As it says below “As an Amazon Associate I earn from qualifying purchases”, maybe I can purchase something from / referencing you.
    Please let me know what I can do.
    Again many, many thanks

    Reply
  8. This still isn’t working here i changed it into India and now still cant fix my error is error 30 please help me i am used to listn spotify everyday now its sucks living without it.

    Reply
  9. Hi
    I run windows 10 and this suggestion does not let me change the country. I am in the USA and thats the only option. Any other suggestions

    Reply
  10. THANK YOU! Just moved back home from another country and after searching for a long time, I couldn’t figure out how to get into my Spotify, but this worked!

    Reply

Leave a Comment