You may be bothered by the error code 4 when connecting to Spotify although the Internet connection is normal. What should you do to fix Spotify error code 4 in Windows 10? Try these methods offered by MiniTool in this post to easily get rid of the issue.

Spotify Not Connecting to Internet: Error Code 4

Spotify is a digital music service that can offer millions of songs and many users choose to use it. But when using this app, you may encounter some error codes like code 53, code 3, etc. In our given post links, you can know much information.

Also, you may encounter another common error code 4 and this is the topic that we will discuss today. When connecting to Spotify, the error appears. On the screen of Spotify, you may get the error message “Now Internet connection detected. Spotify will automatically try to reconnect when it detects an Internet connection (error code: 4)”.

Spotify error 4 is mainly caused by incorrect Internet connection settings including DNS and proxy issues. Sometimes, software compatibility issues like incompatible firewall settings can cause the error.

Then, you ask: how do I fix error code 4 on Spotify? Now, you can try these solutions below to easily solve this issue.

Fixes for Spotify No Internet Connection Detected Code 4

Change DNS Settings

In most cases, the DNS server problem triggers Spotify error code 4. To be specific, this app may not recognize the DNS server and then can’t connect to the Internet. To fix this issue, you can change the DNS settings to use Google DNS or OpenDNS.

Step 1: In Windows 10, right-click the Start button and choose Run.

Step 2: Type ncpa.cpl and press Enter.

Step 3: Right-click your network adapter, choose Internet Protocol Version 4 (TCP/IPv4) and click Properties.

Step 4: Under the General tab, check the option of Use the following DNS server addresses and set the Preferred DNS server to and Alternate DNS server to

Step 5: Save the change.

Change Proxy Settings in Spotify Settings

According to users, changing the proxy settings is helpful to fix Spotify error code 4. Follow these steps:

Step 1: Run the Spotify app and go to the Settings window.

Step 2: Locate and click Show Advanced Settings.

Step 3: In the Proxy window, click Auto Detect and select HTTP from the drop-down menu.

Step 4: Click Update Proxy.

Allow Spotify in Antivirus Software Exception List

Sometimes the antivirus software on your computer can block Spotify from connecting to the Internet with the error code 4. In this case, you can choose to add Spotify to the exception list of your antivirus program.

Just run your antivirus software and locate the Exception setting to add Spotify to the list. Open the file location of Spotify and run Spotify.exe to see if the error code 4 is removed.

Allow Spotify Through Windows Defender Firewall

If Spotify is blocked by Windows Defender Firewall, the error code 4 appears. So, you should allow Spotify through the firewall to unblock Spotify.

Windows Firewall for Windows 10 and Its Great Alternative
Windows Firewall for Windows 10 and Its Great Alternative

If you want to turn Windows Firewall for Windows 10 on or off, this post will tell you all the steps and show you a great alternative to Windows Firewall.

Read More

Step 1: Run Control Panel and click Windows Defender Firewall.

Step 2: Click Allow an app or feature through Windows Defender Firewall.

Step 3: Click Change settings, locate Spotify, and tick its boxes.

Step 4: Click OK finally.

Reinstall Spotify

If none of these methods can fix Spotify error code 4, you need to uninstall and reinstall this app again. Before you do, make sure you back up your playlists.

Bottom Line

Are you bothered by Spotify no Internet connection detected with error code 4 in Windows 10? After trying these methods above, you can easily fix the Spotify error 4. Just have a try.

  • Linkedin
  • Reddit