Free Video Downloader

Fast and free all in one video downloader

For Example: https://www.youtube.com/watch?v=OLCJYT5y8Bo

1

Copy shareable video URL

2

Paste it into the field

3

Click to download button


How to Fix the Spotify Code 4 Connection Error in Windows 10 & 11
March 1, 2023

How to Fix the Spotify Code 4 Connection Error in Windows 10 & 11

Reading Time: 4 minutes

Get listening to Spotify on Windows again with these fixes for error code 4.

Spotify is one of the best Windows apps for streaming and downloading music. However, some Spotify users can’t stream and download music with that app because of error code 4. Error code 4 is a Spotify connectivity issue with a message that says, ‘No internet connection detected.’ Yet, users can usually still open and view websites when that issue arises.

Users who need to fix error code 4 can’t utilize the Spotify app online. That means things like radio and streaming don’t work. This is how you can fix Spotify error code 4 on a Windows 10 or 11 PC.

1. Run the Flush DNS Command

One confirmed solution for error code 4 is to flush the DNS cache. The DNS (Domain Name System) cache is a local storage repository of IP addresses on your PC. Your web browser retrieves DNS lookup data from that cache.

Clearing the DNS cache will flush out and refresh its data. You can clear the DNS cache by running a flush DNS command in Command Prompt or Run. Check out our guide about how to flush the DNS on Windows for further details about how to apply this solution.

2. Select the HTTP Option in Spotify

Spotify includes alternative proxy settings you can select to configure how that app connects with the Internet. Changing the proxy option to HTTP can reputedly resolve error code 4. You can select the HTTP option in Spotify as follows:

  1. Open your Spotify app.
  2. Click the username button at the top of Spotify to view its menu.
  3. Select Settings to view Spotify’s options.
  4. Click the Proxy type drop-down menu to select HTTP.
  5. Then select Restart App to apply.

3. Change DNS Server Settings

Error code 4 often occurs because Spotify can’t recognize your PC’s default DNS server set by your ISP. In such a scenario, the app can’t load required online resources correctly, resulting in error 4. Many users have addressed that issue by changing their PCs’ DNS server to the universally recognized Google DNS.

Our guide to changing the DNS server in Windows post includes step-by-step guidelines for how to apply this solution via the Control Panel and Settings among other methods. You’ll need to set the preferred and alternative DNS server settings to Google addresses. Input 8.8.8.8 for the preferred DNS server and 8.8.4.4 for the alternative DNS setting.

4. Tweak the Registry

Some Spotify users have confirmed tweaking a DWORD value in the registry resolved error 4 for them. Those users changed the EnableActiveProbing DWORD’s value, which was set to 0 (disabled) on their PCs. These are the steps for fixing error code 4 by editing the registry:

  1. Press the search box’s Win + S hotkey.
  2. To locate the Registry Editor, enter regedit inside the Type here to search box.
  3. Select Registry Editor inside the search tool.
  4. Next, click within the address bar at the top of Registry Editor to clear the current location in it.
  5. Go to the Internet key by inputting the following path:
     Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet 
  6. Then right-click the EnableActiveProbing DWORD and select Modify.
  7. If EnableActiveProbing is set to 0, clear the Value data box. Then input 1 inside that data box.
  8. Select OK to save the new EnableActiveProbing value.

5. Exclude Spotify From Your Antivirus Software

You might need to fix error code 4 because of antivirus software interference with the Spotify app. Both third-party antivirus apps and Windows Security can feasibly block Spotify’s internet connectivity. You can select to exclude Spotify from antivirus protection by adding it to an exception (trusted software) list most security apps include.

Our article about setting Windows Security exclusions includes instructions for adding software to that app’s exception list. If you’re utilizing a third-party antivirus tool, look for an exclusion list within its settings tab. The antivirus software’s website will also likely include guidelines for how to use its exclusion list.

6. Turn Off the Windows Defender Firewall

Windows Defender Firewall is a component of Windows Security for filtering network traffic. Turning that firewall off could resolve error 4 if Spotify isn’t allowed through it. You can turn off WDF as outlined in our guide to disabling the Windows Defender firewall.

Should this solution work, it’s not a good idea to keep the firewall disabled. Open Windows Defender Firewall’s allowed app list and select the Spotify checkboxes there to permit that app through it. Check out our how to guide about allowing apps through the Windows firewall for further details.

Of course, numerous standalone third-party firewalls can block Spotify much the same. If you have installed a third-party firewall, try disabling it to see if that resolves error 4. Then add Spotify to its allowed apps and turn the firewall back on if it does.

7. Reinstall Spotify

Reinstalling Spotify could resolve unknown reasons for error code 4 arising and will at least ensure you’re using the latest app version. However, note that reinstalling the app will wipe your Spotify playlists. Back up (export) any playlists you wish to keep so you can restore them. Then reinstall Spotify with the following steps:

  1. Press the Start menu button and select All apps (in Windows 11).
  2. Scroll down to the Spotify app on the Start menu.
  3. Right-click Spotify and select Uninstall.
  4. If you’ve installed the desktop Spotify app, Programs and Features will open from which you can select the software and click Uninstall. Users who’ve installed the UWP Spotify app can select Uninstall on a confirmation prompt.
  5. Then open the Spotify Windows download page.
  6. Click Download to get the installer for the desktop Spotify app.
  7. Open the Explorer file manager along with the folder in which Spotify downloaded.
  8. Double-click the SpotifySetup.exe file to bring up the setup wizard and install Spotify.

Another option is to install the Spotify UWP (Universal Windows Platform) app on Microsoft Store. Click the Get it From Microsoft Store button on the linked Spotify download page to bring up that app’s MS store page. Then click the Get in Store app > Open Microsoft Store options and select Get to install the UWP app.

Enjoy Spotify Music Online Again

There’s a very good chance at least one Windows troubleshooting method in this guide will resolve Spotify error code 4 on your PC. They’re user-confirmed fixes that address the most common reasons for error 4 arising. With that app connection issue sorted, you can then enjoy all the best online music and radio Spotify has to offer again.

Reference: https://www.makeuseof.com/fix-spotify-code-4-connection-error-windows/

Ref: makeuseof

MediaDownloader.net -> Free Online Video Downloader, Download Any Video From YouTube, VK, Vimeo, Twitter, Twitch, Tumblr, Tiktok, Telegram, TED, Streamable, Soundcloud, Snapchat, Share, Rumble, Reddit, PuhuTV, Pinterest, Periscope, Ok.ru, MxTakatak, Mixcloud, Mashable, LinkedIn, Likee, Kwai, Izlesene, Instagram, Imgur, IMDB, Ifunny, Gaana, Flickr, Febspot, Facebook, ESPN, Douyin, Dailymotion, Buzzfeed, BluTV, Blogger, Bitchute, Bilibili, Bandcamp, Akıllı, 9GAG

Leave a Reply

Your email address will not be published. Required fields are marked *