How to Fix Firewall May Be Blocking Spotify Error

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:

Spotify firewall blocking error on my Mac.

“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 the firewall? proxy settings? What does this tech jargon 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.

Why Can’t I Log into 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 the “Account overview” tab, click the black “EDIT PROFILE” button.

Step 4: Change the Country to another one where 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.

Did this trick help solve the problem? Does the error still show up when you attempt to log in 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Laxus Dreyar

    Thx bro! It actually worked, because I almost smashed my PC down and destroyed it. 🙂 Thx 🙂

    Reply
  • Moona

    yes it worked. thank you so much for the hack.

    Reply
  • Mooley

    doesn’t work for me, I live in australia and this has been bugging me FOREVER… sad it couldn’t help but thanks for trying :/

    Reply
  • Ali Imanian

    I can`t change country bcs its grey

    Reply
  • Mary Faith

    Yay! It worked… Thank you so much!

    Reply
  • Riley26

    Mine says the same error message but says Error code:auth:3.
    It didn’t work for me when I tried to change the country. It wouldn’t even let me change the country when I tried.

    Reply
  • sarah

    it didn’t work for me either it won’t let me change the country the only option it shows is Australia and i already live their

    Reply
  • Klaudia

    Hello,
    I get the same error even after changing the country. Anyone else with the same problem?

    Reply
  • Dino

    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
  • keith

    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
  • jagdish

    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
  • itsme

    Thank you I love you

    Reply
  • Frank

    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
  • Jerry Eisener

    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
  • Gwen

    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
  • jen smith

    considering i already live in the us, this doesn’t do much :/

    Reply
  • holly lemon

    didn’t work my dude

    Reply
  • izzatieywani

    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
  • tc

    didn’t work. i get same msg -error 126

    Reply
  • Zoltan

    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
  • Julie Amerigo

    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
  • Diana Morillo

    amazing!! thanks so much!!! it finally works!!! 😀

    Reply
  • Yassie

    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