

Having Spotify nameservers/domains blocked in your hosts file: Another possibility is that something might have tweaked your hosts file and added the Spotify nameservers/domains/IP addresses to the blacklist due to which your machine is not able to access or connect to the Spotify servers.This happens because the app is not able to resolve the IP address of the domains/URLs used by it to connect to its servers if your DNS cache has not been flushed. DNS cache not flushed for some time: If you are using a Windows machine and you have not flushed your DNS cache for a while (many people actually don’t), then the error may be caused because there is much junk in your DNS cache which is not allowing the Spotify app to connect to its servers.Thus, being behind a strict firewall or a proxy can be a cause of this error. Sometimes, network administrators set up such limitations on their network so that the users can’t use certain apps like Spotify because they block the ports used by these apps or the domains/IP addresses used by these apps to connect and authenticate with their servers. Behind Proxy/Firewall: If you are using the Spotify app on your computer and you are behind a proxy or a strict firewall then it is possible that the rules set up on your network’s proxy or firewall do not allow you to use Spotify since it’s blocking Spotify connections.Some of the most common causes of this error include: Now, as the error message appears while trying to log in, there can be a variety of causes of this error and the cause would vary from one user to another.

Since Spotify is one of the most-used apps for listening to music so this error is quite common and there are a lot of solutions for it that you can try to get rid of the error which has helped many other people as well. The cause of the error is usually having something wrong with your network connection. The error code 2 comes during the same phenomena. However, in some cases, logging in can become a hurdle and you will be shown an error message every time you try to log in. Along with the website, Spotify also has a Windows application that you can download and install on your system.


The company has slowly gained notoriety and is offering its services in more and more countries. Based in Sweden, Spotify was founded in 2006. Spotify is a media-services provider especially known for its audio streaming services.
