?
Solved

Telnet Timeout Issue

Posted on 2007-10-06
7
Medium Priority
?
3,640 Views
Last Modified: 2008-01-09
Ok gusy..

Two machines..

Machine 1:  Windows 2003 Server   ( has a telnet service running on it or server)
Machine 2:  windows xp just a client machine...  

machine 2 telnets into machine 1. works like a charm. However after a certain amount of inactivity or something the telnet session timesout. I don't want the timeout to happen at all. I want machine 2 to stay connected to machine 1 at all times.

I even get this message on the client machine saying...
"Telnet Server has closed the connection
Session timed out.

Connection to host lost."

Please help me solve this issue.  

Highly appreciated.
0
Comment
Question by:theitguy
  • 4
  • 3
7 Comments
 
LVL 26

Accepted Solution

by:
Farhan Kazi earned 2000 total points
ID: 20028449
You can set timeout settings of telnet server.

Click Start -> Run -> Cmd.exe

tlntadmn [\\RemoteServer] config [timeout=hh:mm:ss] [-u UserName-p Password]

For more info:
http://technet2.microsoft.com/windowsserver/en/library/4c21f354-aff3-4520-8289-7f6329c5702c1033.mspx?mfr=true
0
 
LVL 26

Expert Comment

by:Farhan Kazi
ID: 20028453
Like:
If you are performing command on local server then

Start -> Run -> Cmd.exe

tlntadmn config timeout=00:30:00

This will set timeout setting to 30 mins.

and if you want to set timeout setting for remote server then

tlntadmn \\RmtServerName config timeout=00:30:00 -u Administrator -p P@ssw0rd

0
 

Author Comment

by:theitguy
ID: 20028599
thank you for you reponse... just curious intead of specifing the time as to how long to keep the session active...isn't there a way to just set the time to infinity or something..i mean the session is only terminated if the user decides to do that... else it stays active...
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:theitguy
ID: 20028608
hey

also...right now when the session timesout... the window that is open sometimes goes dead.. .so you can't close it... i could not close it even by going to the task manager and using the end task ..... does not happen always but does happen time to time.. is that normal... or what?.


thanks
0
 
LVL 26

Expert Comment

by:Farhan Kazi
ID: 20028616
>> .isn't there a way to just set the time to infinity or something
Yes! you can turn off this function by applying following command

tlntadmn config timeoutactive=no

You can help and further options using /? help switch like:
tlntadmn /?
tlntadmn config /?
0
 

Author Comment

by:theitguy
ID: 20028879
ok let met try that... also the post about where the window hangs and i cannot close it even with end task...

any thoughts on that?

Your help highly appreciate>
0
 
LVL 26

Expert Comment

by:Farhan Kazi
ID: 20028887
It only hangs when Telnet session disconnects?

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question