I get the below response

rhishabh@rhishabh1:~$ telnet XXX.XX.XXX.XX 992
Trying XXX.XX.XXX.XX...
Connected to XXX.XX.XXX.XX.
Escape character is '^]'.

then after 2 min
Connection closed by foreign host.

I think its getting connected ..

Rhishabh Srivastava

On Fri, Apr 9, 2010 at 1:37 AM, Scott Klement <tn5250@xxxxxxxxxxxxxxxx>wrote:


'connection timed out' means that TN5250 sent a request to connect to
your server (the one at XXX.XX.XXX.XX) and did not receive a response to
that connection request, so it eventually timed out.

Most likely, a firewall or similar device is blocking access to yout

What happens if you type:

telnet XXX.XX.XXX.XX 992

I know the 'telnet' command wont work because it doesn't support SSL,
but does it connect to port 992? Or do you get a time-out error?

On 4/8/2010 2:27 PM, Rhishabh Srivastava wrote:
I am running Ubuntu 9.10 . I tried installing tn5250 for connecting to a
AS/400 Server but it just don't connect. The error is

rhishabh@rhishabh1:~$ sudo tn5250 AS4
[sudo] password for rhishabh:
Could not start session: Connection timed out

I have created the configuration in ~/.tn5250rc as

AS4 { host = ssl:XXX.XX.XXX.XX
trace = log.txt
ssl_ca_file = /home/rhishabh/Certificate/AS4.cer }

I configured the tn5250 using --with ssl option to enable ssl support.
Though during configuration it generated errors for ncurses library and
OpenSSL header files/lib. This i got resolved by d/l the latest pkg and
other form Synaptic manager. After which configuration& make install
without any error.

Now i am stuck at this error. Log file only contains

tn5250_ssl_stream_init() entered.
SSL Method = SSLv23_client_method()

I need help in diagnosing this timeout error as where to start.

Rhishabh Srivastava

This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].