Solved

Stupid Telnet Question

Posted on 2012-03-13
4
439 Views
Last Modified: 2012-06-21
Just a quick one here - I use telnet often to test connectivity to devices through specific ports to ensure they are not blocked.

I've always assume that these were TCP ports.  Is it possible to do the same, but use UDP instead?  Or should telnet work regardless is the listening port is TCP or UDP?
0
Comment
Question by:JamesonJendreas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Assisted Solution

by:micropc1
micropc1 earned 167 total points
ID: 37717560
Telnet runs on TCP/IP at the application layer. To my knowledge it's not possible to connect to a port using a connectionless protocol such as UDP with Telnet.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
ID: 37717623
UDP doesn't "connect", it just sends messages and doesn't not require a response.  So unless your device is programmed to respond, just sending a UDP message won't tell you anything.
0
 
LVL 40

Accepted Solution

by:
Adam Brown earned 167 total points
ID: 37717778
Telnet relies on TCP which requires a "Three-way handshake" to complete a connection. UDP doesn't do this, and so connecting to a UDP port over TCP will not complete a proper connection.

You can attempt to listen for or talk to UDP ports by using a utility called Netcat. http://netsecure.alcpress.com/netcat/ has more information.
0
 
LVL 1

Author Closing Comment

by:JamesonJendreas
ID: 37717787
Thanks all.  As I thought.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco ASA5510 - Public IPs unreachable after hardware swap & swap-back 5 64
SQL Connection (Error 18456) 14 82
Cookies and new tab 3 93
Multicast IGMP Join Group 8 56
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.

710 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