While I was studying for a networking certification exam, I came across an unattributed poem that someone wrote to remember common ports. I did a quick search to see if it was posted anywhere else and didn’t see it… so here it is in case it benefits anyone else!
Using FTP, File Transfers are fun; I can use tcp/20 or /21!
With port 22, I’m feeling well; Secure communication in my little Shell.
Telnet’s the same, but more easy to see; nobody likes you when you’re port 23.
SMTP is where Simple Mail thrives; it’s Transferred to servers with port 25.
With DNS, I convert Names to IP; I am able to do this with port 53.
When I go online, HTTP is my hero; browsing is made possible by port eight-zero (80).
If I want the Internet to be safer for me; I am more Secure with port 443.
If I want to receive the mail I am sent; I can go to the Post Office in port 110.
If Internet Message Access is more my speed; I’ll need to use port 143.
If I want a Remote Desktop to be of my design; I remember the code is 3-3-8-9.
With udp/137 in the NetBIOS; I can search things by Name and change my Windows.
Data transfers without connections can be pretty great; it can be done by using udp/138.
With port 139, however, I’ll need a connection; to do data transfers with NetBIOS in Session.
If NetBIOS and I don’t really jive; I can do transfers through port 445.
If you use port 427 and a Mac (lame); you can Locate any Services by name.
If you use port 548, I’ll have to give you flak; because that means you’re transferring Files on a Mac.
Managing a Network can be quite fun; it’s Simple to do with udp/161.
To read and write Directories is a bit benign; I can gain Access with port 389.
To automatically assign an IP is great; I can do this with udp/67 or /68!
So you see, studying port numbers can be fun; good luck on passing the 901!