Failed Connection Error - VisualCron - Forum

Community forum

nkheynis88
2015-11-24T16:41:51Z
I have used the code as instructed on Visual Cron API for C#. When I run through I am getting an error. I am trying to connect to Visual Cron to our remote server. I need to trigger a job in our code base. The error happens when I specify c.Connect(conn, true). I specify my IP above in conn.Address. Am I missing a setting I have to change in Visual Cron? I am not sure why I can't connect through. I have even turned off security setting on the remote server.

The error I receive is :

A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll

Additional information: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:59.9410303'.

The inner exception is :

{"An existing connection was forcibly closed by the remote host"}
Support
2015-11-24T18:16:14Z
There could be couple of reasons;

1. a firewall is preventing - try telnet to that server and port to confirm
2. wrong hostname or port is used
3. the remote interface is not up (test this by connecting locally with "Is local" unchecked on the remote computer)
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
nkheynis88
2015-12-02T21:41:11Z
Sorry for the late reply. It seemed to be the firewall blocking me. Thank you!
Support
2015-12-03T08:24:51Z
Great, thanks for the update!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top