Bring Free to Digital Life


Fixed: Spotify Error Code 4 with 3 Methods

By Tony Moton

July 26, 2018

In this post How to Fix Apple Music Problems, we've introduced detailed solutions to most frequently asked Apple Music issues and errors. Many of them work perfectly. And now, we are going to help you fix the Spotify Error Code 4 issue with an in-depth guide.

"I am a premium member and whenever I go to my PC and open Spotify, a window constantly pops up showing Spotify Error code 4, which means there is no Wi-fi connection. But I checked my PC, I have a perfect connection. Can anyone tell me how to fix it!"

Recently, many Spotify users have encountered Error Code 4 Spotify problem even if they have the full WiFi network. Some of them suck in this situation and cannot find a way to fix the Error Code 4 on Spotify. Therefore, this article will give 2+1 solutions to back up Spotify Music on PC and fix Spotify Error Code 4. Check it out!

Don't Miss:

Quick Ways to Listen to Spotify Offline for Free

Spotify Bitrate: What Bitrate does Spotify Use?

2018 Best Apple Music DRM Removal Review [All-Around]


Method 1. Allow Spotify through Computer Firewall

Error Code 4 on Spotify will appear due to your computer firewall has blocked Spotify. So, in order to fix error code 4 on Spotify, all you need to allow Spotify through Firewall. Solutions will be different according to your computer version.

Solution For Windows:

Step 1. Press the Win key and search for "Firewall And Internet Protection".

Step 2. On this page, click "Allow a Program or Feature through Windows Firewall".

Step 3. Click "Change Settings".

Step 4. Scroll down to find Spotify and tick the checkbox.

Step 5. Click "Ok" to confirm.

Tick the Check Box

Solution For Mac:

Step 1. Tap on "System Preferences" and choose the "Security & Privacy" section.

Step 2. Click on "Firewall".

Step 3. Click the lock icon in the bottom-left corner to make changes.

Step 4. Click on "Advance" to open a firewall security dialog window.

Step 5. Click the plus sign (+) below "Block All Incoming Connections".

Step 6. Select Spotify from the Browse dialog box.

Step 7. Click "Add" to confirm.

Click the Plus Sign

Method 2. Fix the DNS Problems on Your Windows/Mac

The existing DNS is not working will also cause the Spotify Error Code 4 happened. So in this way, it is better to fix the Spotify DNS problem. Also, we will share the solutions on both Windows and Mac users.

Solution For Windows:

Step 1. Right-click your network in the bottom right corner and tap on "Open Network and Sharing Center".

Step 2. Under "Connections", click on the connection that you are using.

Step 3. On the new window, click on "Properties" in the bottom-left corner.

Step 4. Double-click on "Internet Protocol Version 4".

Step 5. Tick the circle saying 'Use the following DNS server addresses"

Step 6. Input into the "Preferred DNS server" box and into "Alternate DNS server".

Step 7. Press "Ok" to confirm.

DNS Server

Solution For Mac:

Step 1. Tap "Apple" > "System Preferences" > "Network".

Step 2. Select the connection that you want to configure and click "Advanced".

Step 3. Select the "DNS" Tap

Step 4. Click "+" to replace any listed addresses or add the new addresses and/or at the top of the list.

Step 5. Click "OK" to confirm.

Add New DNS

Generally speaking, the majority of people meeting Spotify Error 4 problem is because of no WiFi connection. But few users said the Error code 4 problem they met refers to a crash problem. If you are one of them, you can go here to see if it works for you.

Method 3. Backup and Reinstall Your Spotify Music with TuneFab

If the above 2 methods still fail to fix the Spotify Offline Error Code 4 appear when enjoying Spotify Music, you can have a try on the quick and fast method, that is back up all the Spotify Music playlists and then reinstall the Spotify App, for there might be something indiscoverable wrong with your Spotify App.

For Spotify Premium users, they are easy to make all their Spotify Playlists accessible with Spotify "Offline Mode" running. In other words, they can still listen to songs that have been downloaded without the internet connection and free from the backup problems. However, it is not the easy case for Spotify Free users, who can just enjoy Spotify online with no permission for online listening. 

To fix this problem for Spotify Free users, the powerful Spotify Music Converter is an urgent demand. Here, we recommend TuneFab Spotify Music Converter, which enables you to download Spotify music and save to your computer.

TuneFab Spotify Music Converter is such a program helping you to rid Spotify music's DRM and convert songs of OGG format to plain format like MP3 and more so that you can save these converted songs to your local computer folder to enjoy offline. It is the converter allows you to convert your Spotify Music with batches and without any quality and metadata lost in 1X or 5X conversion speed.

Let's check out how it works on backup Spotify for offline listening.

Step 1. Download and Run TuneFab Spotify Music Converter

Click on "Try It Free" button and follow the installation to install TuneFab Spotify Music Converter then run it!

Main Interface Mac

Step 2. Add Spotify Songs

After launching the program, there are two ways for you to add Spotify songs. You can either click "Add Files" to directly drag Spotify songs to the program. Or click the three horizontal dots behind the song in Spotify, copy its link and then paste it into the search bar of the program. Click "Add" to confirm.

Add Files Mac

Step 3. Change an Audio Format

Tap "Options" > "Advanced" and choose one output format. Additionally, you can also adjust the sample rate and bit rate for better song quality.

Select Output Formats Mac

Step 4. Reset the Default Output Folder

Go to "Options" > "General" to reset the default output folder. Click "Select" to change it to the folder that you want. Then click "Save".

Choose Output Folder Mac

Step 5. Begin Converting And Enjoy the Songs

Hit "Convert" and the program will begin converting Spotify songs immediately. When the conversion ends, click "History" to listen to the converted songs.

Converting Spotify Music Mac

In short, this post can be a good guide helping you to fix the Spotify Error Code 4 problem. With TuneFab Spotify Music Converter, Spotify users no matter with or without a Premium account can access Spotify music under the situation of no internet connection or when Spotify stop running. Just download a trial version to experience first.

Was this information helpful?

Copyright © TuneFab Software Inc. All rights reserved.