This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
It doesn't make sense to speak of "Telnet connectivity in Java code". You might ask whether there is Telnet connectivity to some other machine - that depends on whether the other machine is set up to be a Telnet host, and whether there's a network connection to that machine that allows Telnet traffic to go through. You can test this using a Telnet client such as Apache Commons Net.
Ping & DNS - updated with new look and Ping home screen widget
As in there is a web site run by us.There are several protocols used http,https,ftp,ftps,ssh.My requirement is it i should check for generic protocol connectivity using telnet in local pc
transmitterID + SFTConstants.HYPHEN_SEPERATOR + transmitterName,
"Disconnecting from FTP Server ",null);
Joined: Mar 22, 2005
So you'd attempt a Telnet connection and handle any exceptions accordingly.
Note that Telnet should no longer be used over connections that go through untrusted networks (in other words, the public internet, unless it's over a VPN). That's what SSH is for.