*Note: The article presented here is written by authors not affiliated with hashemian.com.
This site is not responsible for any errors, omissions, or objectionable content.
Exercise care before engaging in business with any companies mentioned in this article.

Go to: /articles/2006/10/08/ for other articles.

Network+ Exam Tutorial: Ports, Port Numbers, and Sockets

If there's one thing that can be a bit confusing to many Network+ certification exam candidates, it's the concept of ports and sockets. Well, it was confusing to me when I got started with computer certifications! Let's take a look at ports and sockets, and why we need them in the first place.

Past Network+ exam tutorials have focused on how two PCs start communicating, but what we've got to keep in mind is that host PCs may and probably will have several different kinds of communications going on at the same time. A single PC may be sending email, receiving a Telnet request, and accessing the Internet at the same time. These conversations have to kept separate.. but how?

Through the use of ports, that's how. Each potential type of conversation a host can have is preassigned a port number, and these port numbers allow different types of communications to take place over the same physical cable by keeping them logically separated.

Let's go back to that PC we were talking about. If the PC is using SMTP for email communications, it will use port 25. At the same time, the host will be using port 23 for Telnet and port 80 to access the web via HTTP. The same physical cable is in use, but the communications are kept logically separate by use of port numbers.

A socket is simply the host's IP address followed by a colon and the port number in use. If the previously mentioned host had an IP address of 10.1.1.1, the socket number for SMTP would be 10.1.1.1:25, 10.1.1.1:23 for Telnet, and 10.1.1.1:80 for HTTP.

The range of port numbers is quite large - 0 through 65,535 - and the 0 - 1023 range is known as the well-known port numbers. Don't worry, you don't have to memorize all of them! As you gain more and more experience with networks, you'll be surprised how many of these you remember without even thinking about it. In the meantime, for both your Network+ and CCNA exams as well as working with real-world networks, it's a good idea to know this list of often-used ports.

File Transfer Protocol uses both ports 20 and 21.

Telnet uses port 23.

Simple Mail Transfer Protocol (SMTP) uses port 25.

Domain Name Service (DNS) uses port 53.

HyperText Transfer Protocol (HTTP) uses port 80, while the secure version of HTTP, HTTPS, uses port 443.

Believe me, this is just a very short beginning list of port numbers you'll need to know to pass the Network+ exam. If you're familiar with these protocols, that's great - and if you're not, just look for upcoming Network+ exam tutorials!

About The Author

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (www.thebryantadvantage.com), home of free CCNA and CCNP tutorials, and The Ultimate CCNA and CCNP Study Packages.

For a copy of his FREE "How To Pass The CCNA" or "CCNP" ebook, visit the website and download copies! Our new RSS feed gives you free Cisco questions and tutorials daily!


Article Topics
Adsense Advertising Bankruptcy Blog Credit Card
Debt Google Ira Marketing Mortgage
Real Estate Rental Retirement Rss Search Engine
Seo Stocks Tax
Recent Articles

Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

© 2001-2008 Robert Vahid Hashemian
Support the effort
Liked this page?
Please consider creating a link to it
from your Web site.

hashemian.com
هاشمیان.com

 Home

 Blog

 Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
Usage

 News

 Articles

 FAQ

 About

 Contact

 Financial Markets Book
Read Complete Book



BOOK
The Art of Sexual Ecstasy: The Path of Sacred Sexuality for Western Lovers
M. E. Naslednikov
$19.95


BOOK
Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition) (Addison-Wesley Professional Computing Series)
Andrew M. Rudoff
$79.99


BOOK
Internetworking with TCP/IP, Vol. III: Client-Server Programming and Applications, Linux/Posix Sockets Version (Internetworking with TCP/IP)
David L. Stevens
$84.75


BOOK
Java Examples in a Nutshell, 3rd Edition
David Flanagan
$39.95


BOOK
TCP/IP Sockets in C: Practical Guide for Programmers (The Practical Guides Series) (The Practical Guides)
Kenneth L. Calvert
$33.95

|network-exam-tutorial-ports-port-numbers-sockets|

more…



aStore - Hashemian.com on Amazon

Visits: Powered by hashemian.com

 

 

 

 

 

Search Hashemian.com





Dish Network Remote 6.0 IR / UHF Pro DVR #2 942 522 625
$6.24
Ends: Wed Sep 10, 2008 23:10:08 EST


CAT5e CAT5 CAT 5 5e 50' ft Ethernet Network Cable GRAY
$9.95
Ends: Wed Sep 10, 2008 23:53:25 EST


Wireless Security IR Camera Pan/Tilt Network IP System
$199.98
Ends: Wed Sep 10, 2008 23:50:16 EST


Dish Network Remote 6.0 DVR IR / UHF Pro #2 522 625 942
$6.24
Ends: Thu Sep 11, 2008 01:10:02 EST


2 Dish Network 3.0&4.0 IR UHF Remote 322 301 311 #1 #2
$8.88
Ends: Wed Sep 10, 2008 23:10:06 EST

more…