Block Spotify App Firewall

Windows 10 comes with a built-in Firewall app. It provides security from hackers and malicious software trying to access your PC using your network connection. It is possible to allow or deny a specific app from accessing the Internet. In this article, we'll see how it can be done.


I was only allowing for outbound traffic to Spotify, which prevented users on the Windows application from signin on. Everything worked once I opened up inbound traffic from the three IP address ranges (78.31.8.0/21, 193.182.8.0/21, and 194.68.28.0/22) on the same port (TCP 4070). Firewall blocking GOOGLE, STEAM, SPOTIFY Nightwing598. How can I keep Spotify playing when I switch users? In Software and Apps.

In Windows 10, Windows Firewall is based completely on the Windows Filtering Platform API and has IPsec integrated with it. This is true since Windows Vista where the firewall added outbound connection blocking and also comes with an advanced Control Panel called Windows Firewall with Advanced Security. It gives fine-grained control over configuring the firewall. The Windows Firewall supports multiple active profiles, co-existence with third-party firewalls, and rules based on port ranges and protocols.

Before you allow or deny apps in the Windows Firewall, ensure that you are signed in as an administrator.

To allow an app through Windows Firewall, do the following.

For some apps, like Total Commander, a special prompt 'Windows Security Alert' may appear as shown in the screenshot below. It can be used to allow or deny the app from accessing the network. Select the network locations you want to allow (private or public) or uncheck them all to block the app.

To allow an app through Windows Firewall using Firewall Settings, do the following.

  1. Open Settings.
  2. Go to Network & Internet - Status.
  3. Scroll down to the link 'Windows Firewall' and click it.
  4. The following window will be opened. There, click the link 'Allow an app or feature through Windows Firewall' on the left side.
  5. Click the button 'Change settings' if you have UAC enabled to unblock other buttons.
  6. To allow some app, click on the button 'Allow another app'.
  7. In the next dialog, click the Browse button and pick an app you want to allow through Windows Firewall.
  8. Now, click on the button 'Network types...'. In the next dialog, select public, private or both network types to allow the app.
  9. Click on the 'Add' button and you are done.

Alternatively, you can use the netsh command to allow the app to access the network.
Here is a rule-based example for Total Commander, which does the same as above:

You need to type it at an elevated command prompt.
Correct the file path and the rule name to fit your requirements.

Just like the steps for allowing an app, you can block certain apps from accessing the network.

To block an app in Windows Firewall, you can execute the following command:

Block spotify app firewall app

The main difference from the previous command is the 'action=block' portion, which blocks the app from accessing the Internet.

In the Firewall settings, you can also block the allowed app. You can uncheck the check for the rule in the app's list (see the screenshot below) or remove the rule completely.

To remove the rule completely, select the desired app in the list and click the 'Remove...' button.

Finally, you can save your time and use our tiny OneClickFirewall app. After installing, it adds two context menu entries: Block Internet Access and Restore Internet Access.

Under the hood, OneClickFirewall uses netsh commands mentioned above. You might find this method faster.

That's it.

Advertisment

How to fix Spotify Error Code 17: Spotify, as we all know, is a leading application in the world of online audio streaming. The app has a library of around 35 million songs. Spotify also holds a record 159 million active users. These numbers are enough to tell the popularity of this application. However, we are not here to praise Spotify. We are here to provide solution to yet another issue that Spotify users have reported facing. Earlier also, we had talked about few issues such as Spotify Error Code 3 and Spotify Error Code 4. Today, we will be talking about Spotify Error Code 17.

Spotify Error Code usually occurs when users try to log in to their account. You enter your email address and password to login to Spotify but it fails with the following error code:

A firewall may be blocking Spotify. Please update your firewall to allow Spotify. Additionally, you could try changing the currently used proxy settings (Error Code: 17)

The error message is self explanatory and elaborative enough to tell that there is something wrong with the proxy settings we have. Thanks to the error message, the fix to Spotify Error Code 17 is very easy. So, without consuming any time further, let us move to the methods to fix Spotify Error Code 17: A firewall may be blocking Spotify.

How to fix Spotify Error Code 17: A Firewall may be Blocking Spotify

In this section, we will provide couple of methods to get rid of Spotify Error Code 17 (A Firewall may be blocking Spotify error). Please make sure you are implementing the steps carefully. We have also provided the screenshots for your convenience. So, let us start fixing Spotify Error Code 17 now.

Method 1: Make sure you are not Connected to VPN

This is just a preventive measure that all of you must verify before proceeding to the actual methods. Please make sure you are not connected to any VPN. If you are, then disconnect the VPN and then try to login to Spotify. The error code 17 should disappear in seconds. However, if you are not connected to VPN and still getting Spotify Error Code 17, then you need to spend 3-4 minutes more to get rid of this error. Just implement the next method and you should be good to go.

Method 2: Change Proxy Settings in Spotify

If you are not connected to VPN and still getting this error, then this method should fix the error code. Just follow the steps mentioned below to change or validate the proxy settings in Spotify.

  • Launch Spotify app on your machine.
  • At the bottom, click on Settings option.
  • Now, make sure none of the fields under Proxy section are filled. If you have entries in these fields, remove everything and click on Update Proxy.
  • From the right section, select No Proxy from the drop down.

Once you have implemented all these steps, try to login to Spotify and check if the Spotify Error Code 17 still persists.

Method 3: Change Country in your Spotify Account

Follow the steps given below to Change the country in your Spotify account.

  • First of all, open Spotifyon your browser.
  • At the top right, click on Log In button.
  • Enter your email address and password and press Enter to login to your Spotify Account.
  • At the top right, click on Profile > Account.
  • Now, click on Edit Profile button.

Block Spotify App Firewall App

  • Here, choose your current country and click on Save Profile button.

Firewall Blocking Spotify Windows 10

After correcting the currently details, try to login to Spotify on desktop app and check if the error code 17 still persists. Ideally, it should disappear and you should be able to login to Spotify.

So, these were the few methods to fix Spotify Error Code 17: A firewall may be blocking Spotify. Hope you liked this article on How to fix Spotify Error Code 17: A firewall may be blocking Spotify. If you are stuck at some point, feel free to reach out to us through comments or Contact Us page. We will try to resolve your problem at the earliest.