title: HttpException Request Time out
body: <p>i can past this url into my browser and get the server time, <a href="https://api.binance.je/api/v3/time" rel="nofollow noreferrer">https://api.binance.je/api/v3/time</a></p>
  
  <p>But i am unable to get a response using below code. How can i debug this </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.IO;
  using System.Linq;
  using System.Net;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace ConsoleApp1
  {
      class Program
      {
          static void Main(string[] args)
          {
              // Create a request for the URL.        
              WebRequest request = WebRequest.Create("https://api.binance.je/api/v3/time");
              // If required by the server, set the credentials.
              request.Credentials = CredentialCache.DefaultCredentials;
              // Get the response.
              HttpWebResponse response = (HttpWebResponse)request.GetResponse();
              // Display the status.
              Console.WriteLine(response.StatusDescription);
              // Get the stream containing content returned by the server.
              Stream dataStream = response.GetResponseStream();
              // Open the stream using a StreamReader for easy access.
              StreamReader reader = new StreamReader(dataStream);
              // Read the content.
              string responseFromServer = reader.ReadToEnd();
              // Display the content.
              Console.WriteLine(responseFromServer);
              // Cleanup the streams and the response.
              reader.Close();
              dataStream.Close();
              response.Close();
          }
      }
  }
  </code></pre>