Many Spotify users report that, when they open Spotify, it keeps going on and offline constantly with an error code 4: ‘No internet connection detected’. Spotify Automatically reconnects it when detects an internet connection. But you got that your internet connectivity is good. So, you are confused that What is exactly Spotify error code 4 and how can you fix it.
Spotify error code 4 is a common issue that Spotify users may face while open Spotify on their PC. When this error occurs, then it pop-up an error message saying ‘No internet connection detected’.
Solutions to fix Spotify error code 4:-
Here are many easy and quick solutions to fix this error. So, follow the below-given steps:
Change the DNS server to fix Spotify Error Code 4
Most of the time, Spotify error code 4 happens due to a DNS problem. Sometimes, Spotify would not recognize the DNS server from your ISP provider, so it cannot load the internet resources as expected. To fix this error, switch your ISP’s to Google DNS, OpenDNS, or another DNS server. The process of changing the DNS server on Mac and Windows are different.
For Windows system
- At first, navigate to the taskbar and right-click on the network icon and select Open Network and Sharing Center
- Now, go to the Connections section and tap on the primary network connection (Ethernet or Wi-Fi).
- After that, select properties option and then twice click on the Internet Protocol Version 4 (TCP/IPv4). And, if you use IPv6 then select Internet Protocol Version 6 (TCP/IPv6).
- Now, tick the option Use the following DNS server addresses and type the DNS address as mentioned below:
- Preferred DNS address: 188.8.131.52
- Alternate DNS address: 184.108.40.206
- After that, tap on the OK option to apply the changes
- Now, open Spotify and check if Spotify error code 4 has been fixed.
For the Mac system
- At first, go to the System Preferences option and tap on the Network
- Now, tap on the Advanced option and then select the DNS
- Tap on the + button to replace the listed address with, or add, the Google IP addresses at the top of the list: For IPv4: 220.127.116.11. and/or 18.104.22.168
- Now, tap on the OK option to confirm it.
- Reboot Spotify app and then check if Spotify error code 4 has been fixed successfully.
Change the Firewall Settings
Sometimes, it happens that Spotify cannot access the internet and firewall settings block it on your system. For allowing Spotify in Firewall, follow the below-given steps:
For Windows system:-
- At first, tap on the shield icon and navigate to the taskbar section to open Windows Defender Security Center.
- Now, tap on the Firewall & Network Protection option and then allow an app or feature via Windows firewall.
- After that, tap on the Change Settings option and scroll down to search for exe. If the checkbox is not ticked yet then tick it.
- If you don’t find the Spotify app then you have to tap on the Allow Other Apps option to find the Spotify from C:\Users\Your Username\AppData\Roaming\Spotifyfolder and add it to the firewall exception list.
- Now, tap on the OK or Apply option to apply the changes.
For the Mac system
- At first, go to the System Preferences option and tap on the Security & Privacy
- Now, select the Firewall option and tap on the lock icon which is at the bottom left.
- After that, provide your administrator password to unlock it so that you can change the Firewall Settings.
- Tap on the Advanced option and then tap on the +
- Now, you will be directed to the Applications option where you can choose a Spotify
- After that, tap on the Add option to allow incoming connection from Spotify to Mac.
- Tap on the OK option to save the changes.
Allow Spotify in Antivirus Software Exception list
The anti-virus software on your system can also block the startup of Spotify. If you use the NOD32 anti-virus program and get the Spotify error code 4 issue then follow the below steps to fix it.
- At first, open ESET Smart Security or ESET NOD32 antivirus on your system.
- Now, activate the Advanced Setup window and then tap on the Antivirus and antispyware.
- After that, tap on the Exclusion and then tap on the Add.
- Now, browse C:\Users\Your Username\AppData\Roaming\Spotify and search for exe.
- After that, tap on the OK option to save the changes.
- Restart your system and open Spotify to check the Spotify error code 4 has been fixed.
In this blog, we discussed to fix the Spotify error code 4. I hope, it is helpful to you. You can also call to our expert’s team if you have any doubts regarding this.