Skip to main content.

Using Telnet

Telnet is a telecommunications software utility which allows you to become a user on a remote computer. Once you access the remote terminal, you can use it for its intended purposes. Unlike FTP, the telnet utility does not allow you to transfer and save files to your own computer. (A general WARNING: Telnet is very insecure and should only be used when there are no other alternatives. )

In this lab you will learn how to use telnet as a basic tool to experiment with application layer protocols. (These experiments have been adapted from Hands-On Networking with Internet Technologies, 2nd Ed. by Douglas Comer, Prentice Hall, 2004.)

Fortune Cookies

The first step will be to use telnet to contact a fortune cookie server. Keep in mind that the server does not know that you -- a human -- are accessing it, as opposed to a computer program, so you must follow the protocol in this and subsequent sections precisely.

Contacting a Web Server

Next, use telnet to contact a web server and request a web page.

Sending an Email Message

Now, use telnet to connect to the Berry College email server and send a message.

Using ping

The ping utility (built into most OS'es) is used to determine the reachability of a host.