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 byMiniToolin this post to easily get rid of the issue.

Windows Firewall for Windows 10 and Its Great Alternative

But when using this app, you may encounter some error codes likecode 53,code 3, etc.

In our given post links, you might know much information.

When connecting to Spotify, the error appears.

On the screen of Spotify, you may get the glitch notice Now Internet connection detected.

Spotify will automatically attempt to reconnect when it detects an Internet connection (error code: 4).

Spotify error 4 is mainly sparked by incorrect Internet connection prefs including DNS and proxy issues.

Sometimes, software compatibility issues like incompatible firewall controls can cause the error.

Then, you ask: how do I fix error code 4 on Spotify?

Now, you might try these solutions below to easily solve this issue.

To be specific, this app may not recognize the DNS server and then cant connect to the Internet.

To fix this issue, you might change the DNS controls to use Google DNS or OpenDNS.

Step 1: In Windows 10, right-click theStartbutton and chooseRun.

Step 2: Typencpa.cpland pressEnter.

Step 3: Right-click your internet adapter, chooseInternet Protocol Version 4 (TCP/IPv4)and clickProperties.

Step 5: Save the change.

Change Proxy options in Spotify options

Step 1: launch the Spotify app and go to theSettingswindow.

Step 2: Locate and clickShow Advanced configs.

Step 3: In theProxywindow, clickAuto Detectand selectHTTPfrom the drop-down menu.

Step 4: ClickUpdate Proxy.

Just run your antivirus software and locate the Exception setting to add Spotify to the list.

fire up the file location of Spotify and run Spotify.exe to see if the error code 4 is removed.

So, you should allow Spotify through the firewall to unblock Spotify.

Step 1: Run Control Panel and clickWindows Defender Firewall.

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

Step 3: ClickChange controls, locate Spotify, and tick its boxes.

Step 4: ClickOKfinally.

Before you do, verify you back up your playlists.

After trying these methods above, you might easily fix the Spotify error 4.

Just have a try.