title: Why is my Android phone sending data through an unknown server?
body: <p>I've been creating an app to learn how Android works and just playing around with various features like the sensors, SMS listeners, phone listeners, wifi listeners, etc.</p>
  
  <p>I recently added a bit of code from the <em>Android Volley</em> library to send a request to my website every time it connects to a wifi network (I don't have a cellular data plan).</p>
  
  <p>It sends a <code>GET request</code> to a very sparse text file that returns back:</p>
  
  <pre><code>hello
  </code></pre>
  
  <p>The odd thing is that after connecting to open public wifi networks, oftentimes the response that the phone gets from this same request will be:</p>
  
  <pre><code>&lt;html&gt;
  &lt;title&gt;Redirecting...&lt;/title&gt;
  &lt;script language="javascript"&gt;
  document.location.href="http://den-80202-7200.localdomain:8000/index.php?zone=pms&amp;redurl=http://my-personal-server.com/hello
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Which is really strange to me, as it will return this even the next day, connecting to other networks, connecting to my secured network at home, etc.</p>
  
  <p>And I have no idea what this URL is:</p>
  
  <pre><code>http://den-80202-7200.localdomain:8000
  </code></pre>
  
  <p>It appears to me, (still learning about how this all works), that my phone is sending my GET request to my website, but somehow my website is returning back this possibly infected response, which, if I was in a browser may harm me. Maybe my website server is infected with something?</p>
  
  <p>Or, my phone has malware that is sending all my requests through this unknown server?</p>
  
  <p>Is that what is going on? How to prevent my phone from keep sending requests through this unknown server? I did a virus scan and it comes up clean. Is there a way to flush the phone's DNS cache or something similar?</p>