title: Timeout error on real android device with volley?
body: <p>I am beginner in android. i have a problem in volley request using <code>xamp server</code> for <code>request</code> when i use real device then it give me timeout error and added retry policy but still <code>timeout error</code>.</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      private TextView serverResponse;
      private Button requestBtn;
      private String url = "http://192.168.3.104/helloworld.php";
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          serverResponse = findViewById(R.id.serverResponse);
          requestBtn = findViewById(R.id.serverBtn);
  
          final RequestQueue requestQueue = Volley.newRequestQueue(this);
  
          requestBtn.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
  
                  StringRequest stringRequest = new StringRequest(Request.Method.POST, url, new Response.Listener&lt;String&gt;() {
                      @Override
                      public void onResponse(String response) {
  
                          serverResponse.setText(response);
                          Log.e("Volley MainActivity " , response.toString());
                          requestQueue.stop();
                      }
                  }, new Response.ErrorListener() {
                      @Override
                      public void onErrorResponse(VolleyError error) {
                          Log.e("Volley MainActivity " , error.toString());
                        serverResponse.setText(error.toString());
  
                      }
                  });
                  stringRequest.setRetryPolicy(new DefaultRetryPolicy(
                          50000,
                          3000,
                          DefaultRetryPolicy.DEFAULT_BACKOFF_MULT)
                  );
                  requestQueue.add(stringRequest);
  
              }
          });
  
  
      }
  }
  </code></pre>
  
  <blockquote>
    <p>E/Volley MainActivity: com.android.volley.TimeoutError</p>
  </blockquote>