How to fix Spotify Error code 4 in Windows 10

Spotify is the most used audio streaming media in the whole world. While using the Spotify application on your Windows 10 device, you may face ‘Error code – 4’. You may sometimes face this problem in a web client also. There is a very easy fix to this issue. Simply follow these easy steps and the problem will be solved in no time at all.


Fix 1 – Flush the DNS cache

You can flush the DNS cache on your device to fix the issue on your computer.

1. You need to press the Windows key+S. Type “cmd“.

2. After that, right-click on the “Command Prompt” and click on “Run as administrator” to access the CMD terminal.


Cmd.exe Admin


3. Once the terminal appears on your screen, type this code and hit Enter.

ipconfig/ flushdns


Command Prompt Admin Flush Dns Command Enter


Wait for a few seconds.

4. Now, right-click on the network icon.

5. Then, click on the “Open Network & Internet Settings“.


Taskbar Network Icon Right Click Open Network & Internet Settings


6. After that, click on the “Change adapter options


Change Adapter Options


7. Again right-click on the adapter and click on the “Properties“.


Network Connections Active Wifi Connection Right Click Properties


6. To adjust the IPv4 settings, you should double click on “Internet Protocol Version 4 (TCP/IPv4)“.


Double Click Ipv4


7. Next, click on  “Use the following DNS server addresses:

8. After that input these following DNS servers settings-

Preferred DNS server:
Alternate DNS server:

9. Click on “OK“.


Use The Following Address Dns 8 8 8 8


Restart the system and restart your router once.

Try to play something on Spotify. This should have solved the problem on your computer.

Fix 2 – Using registry editor

1. Open RUN command box by pressing Windows key + R together.

2. Write regedit in it and hit Enter key.




3. Before doing anything do not forget to take a Registry backup

Now, Go to the following location in Registry editor.



Enable Active Probing


4. Now, in right click double click on EnableActiveProbing and change the value data to 1.

5. Close the registry editor and Reboot.


1 thought on “How to fix Spotify Error code 4 in Windows 10”

  1. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet
    Set “EnableActiveProbing” to 1

Comments are closed.