<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No Internet Connection Detected (Error Code: 4) in Desktop (Windows)</title>
    <link>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4590845#M66503</link>
    <description>&lt;P&gt;After reading a few other threads on this it's often said that changing your DNS server to Google fixes the problem, which suggests that there's a problem with name resolution. As I didn't want to change the DNS server my ISP points me to, I thought I'd bypass DNS altogether and try putting an entry in my Hosts file to resolve the name locally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far it seems to be working. Booted my PC this morning and worked straight away. So will see how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to try this fix, you'll need to edit the 'HOSTS' file in C:\Windows\Systems32\Drivers\etc. It's a system file so you may need administrator priviledge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Open a Command Prompt as Administrator&lt;/P&gt;&lt;P&gt;2. Navigate to the above directory&lt;/P&gt;&lt;P&gt;3. For safety, make a copy of your hosts file&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; copy hosts hosts.old&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 1.png" style="width: 677px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93775i5F6543240A526BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 1.png" alt="DOS Box 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Enter the command 'notepad hosts'&lt;/P&gt;&lt;P&gt;5. Add a new line to the bottom of the file:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 104.199.240.211&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;play.spotify.com&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(use a 'Tab' between 211 and play)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 2.png" style="width: 979px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93776i7D6EB558C5918137/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 2.png" alt="DOS Box 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Save the file and exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that should help, see how you get on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final note - If Spotify change the IP address of play.spotify.com this will stop working. To find the new IP address, at a Comman Prompt enter 'ping play.spotify.com' and that will give you the new IP address. Just change the entry in your hosts file to match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 04:31:50 GMT</pubDate>
    <dc:creator>Gerrard_B</dc:creator>
    <dc:date>2018-10-22T04:31:50Z</dc:date>
    <item>
      <title>No Internet Connection Detected (Error Code: 4)</title>
      <link>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4586091#M66275</link>
      <description>&lt;P&gt;Further to all the other threads on this, I was experiencing this problem and tried all the fixes suggested in those threads. The one that suggests changing the proxy seemed to work until I tried using Spotify again the next day. Then it was back to Error Code 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I de-installed, re-installed. Neither fixed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I was looking at the Proxy setting again and noticed there was a 'No Proxy' setting. It occured to me that as I am a home user, and not using a Proxy, then surely this must be the correct setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it. And you know what? It worked! It's only been 45 minutes mind you. But as soon as it re-started it worked straight away, making connection back to Spotify. I'll keep and eye on it, but hopefully it's fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if none of the other suggested fixes works, maybe this one will.&lt;/P&gt;&lt;P&gt;And if this fix has been mentioned elsewhere, apologies, I must have missed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 06:30:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4586091#M66275</guid>
      <dc:creator>Gerrard_B</dc:creator>
      <dc:date>2018-10-14T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: No Internet Connection Detected (Error Code: 4)</title>
      <link>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4586129#M66281</link>
      <description>&lt;P&gt;Spoke too soon &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Left it alone for an hour, laptop had fallen asleep so started it back up. Error Code 4.&lt;/P&gt;&lt;P&gt;The battle continues......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 08:34:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4586129#M66281</guid>
      <dc:creator>Gerrard_B</dc:creator>
      <dc:date>2018-10-14T08:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: No Internet Connection Detected (Error Code: 4)</title>
      <link>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4590845#M66503</link>
      <description>&lt;P&gt;After reading a few other threads on this it's often said that changing your DNS server to Google fixes the problem, which suggests that there's a problem with name resolution. As I didn't want to change the DNS server my ISP points me to, I thought I'd bypass DNS altogether and try putting an entry in my Hosts file to resolve the name locally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far it seems to be working. Booted my PC this morning and worked straight away. So will see how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to try this fix, you'll need to edit the 'HOSTS' file in C:\Windows\Systems32\Drivers\etc. It's a system file so you may need administrator priviledge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Open a Command Prompt as Administrator&lt;/P&gt;&lt;P&gt;2. Navigate to the above directory&lt;/P&gt;&lt;P&gt;3. For safety, make a copy of your hosts file&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; copy hosts hosts.old&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 1.png" style="width: 677px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93775i5F6543240A526BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 1.png" alt="DOS Box 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Enter the command 'notepad hosts'&lt;/P&gt;&lt;P&gt;5. Add a new line to the bottom of the file:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 104.199.240.211&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;play.spotify.com&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(use a 'Tab' between 211 and play)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 2.png" style="width: 979px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93776i7D6EB558C5918137/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 2.png" alt="DOS Box 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Save the file and exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that should help, see how you get on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final note - If Spotify change the IP address of play.spotify.com this will stop working. To find the new IP address, at a Comman Prompt enter 'ping play.spotify.com' and that will give you the new IP address. Just change the entry in your hosts file to match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 04:31:50 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4590845#M66503</guid>
      <dc:creator>Gerrard_B</dc:creator>
      <dc:date>2018-10-22T04:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: No Internet Connection Detected (Error Code: 4)</title>
      <link>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4591502#M66526</link>
      <description>&lt;P&gt;After reading a few other threads on this it's often said that changing your DNS server to Google fixes the problem, which suggests that there's a problem with name resolution. As I didn't want to change from the DNS server my ISP points me to, I thought I'd bypass DNS altogether and try putting an entry in my Hosts file to resolve the name locally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far it seems to be working. Booted my PC this morning and worked straight away. So will see how it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to try this fix, you'll need to edit the 'HOSTS' file in C:\Windows\Systems32\Drivers\etc. It's a system file so you may need administrator priviledge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Open a Command Prompt as Administrator&lt;/P&gt;&lt;P&gt;2. Navigate to the above directory&lt;/P&gt;&lt;P&gt;3. For safety, make a copy of your hosts file&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; copy hosts hosts.old&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 1.png" style="width: 677px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93775i5F6543240A526BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 1.png" alt="DOS Box 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Enter the command 'notepad hosts'&lt;/P&gt;&lt;P&gt;5. Add a new line to the bottom of the file:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 104.199.240.211&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;play.spotify.com&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(use a 'Tab' between 211 and play)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DOS Box 2.png" style="width: 677px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/93831i56ABB86534A34CA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="DOS Box 2.png" alt="DOS Box 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Save the file and exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that should help, see how you get on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final note - If Spotify change the IP address of play.spotify.com this will stop working. To find the new IP address, at a Command Prompt enter 'ping play.spotify.com' and that will give you the new IP address. Just change the entry in your hosts file to match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 04:40:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Windows/No-Internet-Connection-Detected-Error-Code-4/m-p/4591502#M66526</guid>
      <dc:creator>Gerrard_B</dc:creator>
      <dc:date>2018-10-22T04:40:46Z</dc:date>
    </item>
  </channel>
</rss>

