I have a user account on a clients Salesforce. These credentials are used on our Web service to connect and upload data to that clients Salesforce account.
However I have found that only my PC will allow the logging in to the API, this is not ideal as I need to have multiple users logged in using the same account and on different PC's in our organisation.
How can I fix this issue?
Here is the exception that is thrown:
------------- Top Exception -------------
------- Source -------
System
------- Message -------
Unable to connect to the remote server
------- Stack Trace -------
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebONE.SalesForceReference.SforceService.login(String username, String password)
at WebONE.GeneralUtilities.SalesForce.SalesForceHelper.Login()
at WebONE.Service.CampaignService.CreateNewSalesForceLead())
------- Message -------
No connection could be made because the target machine actively refused it 204.14.234.101:443
------- Stack Trace -------
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
Here is a snippet of the Logs from SalesForce
Login Time (Australian Eastern Daylight Time) Source IP Login Type Status Browser Platform Application Login URL
4/07/2013 12:19 Salesforce.com IP Remote Access 2.0 Success Unknown Unknown Community login.salesforce.com
4/07/2013 9:37 203.174.136.182 Application Success Chrome 27 Windows 7 Browser login.salesforce.com
3/07/2013 17:27 203.174.136.182 Application Success Chrome 27 Windows 7 Browser na5.salesforce.com
4/07/2013 12:40 203.174.136.182 Other Apex API Success .NET Unknown Unknown N/A
I believe that the last record was created when I successfully ran the code locally