IBM Support

Unable to connect to host. RC = -10051 or RC = -10060 - Sterling Gentran:Director

Technote (troubleshooting)


Problem(Abstract)

Unable to send data in Gentran:Director. Communications log reports an error: Unable to connect to host. RC = -10051 GenMail exiting SendEDIMessage with RC = -10051 OR Unable to connect to host. RC = -10060 GenMail exiting SendEDIMessage with RC = -10060

Symptom

Communication log failure, error reported when doing a send session in Gentran Director
Opening SMTP session on port 25 with host primary.ca.globalec.com.
Host responds:
Unable to connect to host. RC = -10051.
Connecting to secondary SMTP server secondary.ca.globalec.com.
Preparing to send message.
Loading message file C:\Program Files\COMMERCE Connection32\CEMail\Outbox\out71AA.tmp.
Opening SMTP session on port 25 with host secondary.ca.globalec.com.
Host responds:
Unable to connect to host. RC = -10051.
GenMail exiting SendEDIMessage with RC = -10051

OR

Opening SMTP session on port 25 with host primary.ca.globalec.com.
Host responds:
Unable to connect to host. RC = -10060.
Connecting to secondary SMTP server secondary.ca.globalec.com.
Preparing to send message.
Loading message file C:\Program Files\COMMERCE Connection32\CEMail\Outbox\out71AA.tmp.
Opening SMTP session on port 25 with host secondary.ca.globalec.com.
Host responds:
Unable to connect to host. RC = -10060.
GenMail exiting SendEDIMessage with RC = -10060


Cause

This is a network related error often related to the firewall. Please consult a network administrator to open port 25 so that Gentran can send data to a Sterling Commerce/IBM mailbox.


Diagnosing the problem

Telnet test to make sure the port is open and not blocked

Go to Start, Command, Run
type > telnet and hit enter
type > open primary.us.globalec.com 25  hit enter

Gentran:Director uses SMTP ports 25 or 2375, so you can telnet for both ports, which are used for sending data. You can also telnet POP3 port 110 used for receiving data, and usually is not blocked, which is the reason data can be received.

Resolving the problem

Please consult a network administrator to open port 25 so that Gentran can send data to a Sterling Commerce/IBM mailbox. Or contact your Internet Service Provider (ISP) to ask them to unblock the port needed. Sometimes ISP's will block these ports.

Document information

More support for: Sterling Gentran:Director

Software version: 5.3.1, 5.4, 5.5

Operating system(s): Windows

Software edition: All Editions

Reference #: 1595421

Modified date: 06 August 2012


Translate this page: