Remote Request RRS feed

  • Question

  • User1368242848 posted

    i made a asp.net website which uses  HTTP request to check bitcoin balance using QBitNinja library.

    Client_QBitNinja.GetBalance(new BitcoinPubKeyAddress(PublicKey), true).Result;

    Now this works fine on my locally installed IIS + It works perfectly when i upload it to a free hosting site

    but when i upload the application to my main host (!&1 Ionons) servers  it generates exception error as follows:

    System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

    it apparently a server-related security restriction issue that prevents communications with external servers (Since it works fine on other servers). I have ALREADY contacted them with no answer yet, is there anything that i can do to solve it using config file or any other methods? Thanks

    Monday, January 21, 2019 5:08 PM

All replies

  • User753101303 posted


    AFAIK. it is most often caused by firewall. See iwht them to see what they allow or if maybe you should configure a proxy in the web.config file.

    Monday, January 21, 2019 5:21 PM