Once you get the "connected" message, type the following (note uppercase):telnet www.latrobe.edu.au 80
GET /home/index.html
Can you explain what happens? Don't worry -- later on you will!telnet" on your
computer. There are many versions of telnet which
are freeware and widely distributed, as well as a few commercial
ones.
Start up telnet. On some systems you can do this
from within Netscape (or another browser such as IE) by doing an "Open
Location" (under the "File" menu) and entering a URL of the form:
This should be a connection to the WWW server on www.latrobe.edu.au -- that is, you should be able to type "telnet://www.latrobe.edu.au:80If that doesn't work, try typing "
telnet" at a DOS prompt, or if you're on a Mac, do a "Find File" for "telnet" and double click it. Once you've gottelnetup and running, select the "Open Connection" menu item and enter: "www.latrobe.edu.au 80" (without the quote marks). This should pop up a "terminal" (command line) window containing nothing at all. At this point it might be useful to look for a "Preferences" option to turn on "Local Echo", so you can see what you're typing. Some versions oftelnetare clever enough to do this where appropriate, others have to be told...
GET /home/index.html" in the window and
get a pile of HTML sent back to you.The window will probably disappear immediately (it's usually a "Preferences" option to have them stick around after close), but you'll have seen the protocol in action.
The object of this prac exercise, incidentally, is twofold:
If it doesn't, it may not be your fault anyway -- one of the more recent technologies that can block access is a firewall, so if you're connected to an Internet Provider outside La Trobe University, this could be what's happening. We'll see later how the protocol works when firewalls are in use.
[Previous Practical]
[Tutorial Index]
[Next Practical]