I'm getting this error below, any ideas? Thanks!
No connection could be made because the target machine actively refused it 50.18.179.4:443
Exception thrown from line 127 in refreshToken()
method in ET_Client.cs
.
string json;
using (var streamWriter = new StreamWriter( request.GetRequestStream() )) {
Networking guys said it isn't connection through proxy and should be.
[SocketException (0x274d): No connection could be made because the target machine actively refused it 50.18.179.4:443] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +208 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +464
[WebException: Unable to connect to the remote server] System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +6541489 System.Net.HttpWebRequest.GetRequestStream() +13 FuelSDK.ET_Client.refreshToken(Boolean force) +341 FuelSDK.ET_Client..ctor(NameValueCollection parameters) +2035 TheDreamProject._default.btnSubscribe_Click(Object sender, EventArgs e) in d:\FuelSDK-CSharp-Dot9.zip\FuelSDK-CSharp-Dot9\TheDreamProject\TheDreamProject\default.aspx.cs:30 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9633194 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724