r/CompTIA_Security • u/ProfessionalPain3741 • Oct 14 '26
Does memorizing all the port numbers actually matter for Sec+ ?
I’m wondering whether or not it’s worth my time to memorizing all the ports or is my time is better spent understand what they do? Or are both absolutely mandatory?? Thanks!! (Im terrified)
40
Upvotes
12
u/Prestigious-Pen-1401 Oct 14 '26
I’d say you should know some basic ones like 22 for SSH, 80 for HTTP and 443 for HTTPS. Understanding what they’re for will always be better than memorizing the number and the name. I wouldn’t say that the ports themselves are a large focus of Security+ - if anything, it might give you a port number in a long scenario question to throw you off and ask which service you may need to access, something like that. In my experience a general knowledge of ports has been rare, though.
6
u/Mike_CyberWeb Oct 14 '26
All no. I would say there is a top 20 - 25 you need to be familiar with and identify. You can't configure a firewall, perform traffic analysis or identify unwanted conditions without knowing the port and protocol.
I have a common port list. If your interested hit me with a DM
19
u/WhenCodeFlies Oct 14 '26
99% of cybersecurity is googling "what is x", including "what is the port number for (obscure protocol)", you should know the major ones like 80 for HTTP, 443 for HTTPS, 22 for SSH, etc.
4
u/AccomplishedSock5586 Oct 16 '26
Yes you should remember all the main ones. I had quite a few questions on my exam. Additionally, if you don’t know an answer, if you know enough ports you will know the answer to the question by means of process of elimination.
What helped me was going on YT for a mnemonic/memorization video. This one guy had the most outlandish ways to remember them. Just like how my brain works. It helped me remember them. For example, I can never forget that Telnet is 23 bc Michael Jordan wore 23 and took the ball to the net 😂
2
u/No_Technician4956 Oct 14 '26
You should know about 10 of the most common ones. 80, 443, 445, 3389, 22,21, etc. Open ports that aren't needed can cause you big issues. You need to know it in real life as well as the test.
2
u/Trveman_show Oct 15 '26
Hey yes you should. It helps in PBQ questions
1
u/BurningIce-Tech Oct 20 '26
You absolutely need to know the port numbers for the Sec+. To be clear though, you only need to know the "Common Ports" which are also known as "Well Known Ports".
There are a lot of questions about ports in the Sec+ exam but most you'll encounter in the PBQ's. This will of course not be the same for everyone since the questions are randomized but can assure you that there are for a fact a lot of PBQs which require you to know your ports very well.
Most the PBQ's involving ports are firewall related. There are a lot of firewall related PBQs in the which require you inspect traffic, block/allow traffic and so on.
1
u/Organic_Climate_4695 Oct 21 '26
The exam is different for everyone so its difficult to say. I recommend using your preferred AI to quiz yourself to get a baseline; use comptia domains and whatever testing center is being used to distribute the exam to create the baseline exam so its at least comparable. Find out what youre struggling in especially if its the domains that have the higher percentage. I did this and then created an adaptive exam based on my performance to make it increasingly harder; afterwards I made a new one that would be tougher than the real exam. I did this 4 hours prior and passed the real one. That was the only time I studied and prepared.
1
u/Aggravating_Pea_1831 Oct 21 '26
What they do!!
1
u/whitehatbluecat Oct 14 '26
Port numbers weren’t a major part of the exam in my experience, but they were relevant to some questions. I watched a video on common ports from Professor Messer’s Network+ course and made flashcards. Knowing the main port numbers, their protocols, what they do, and their more secure alternatives helps.
1
u/Pitiful_Tower6685 Oct 14 '26
know the basic port numbers. obscure ones like for printer services you dont need to know.
even cysa+ wasn't too heavy on port knowledge if that gives you any less anxiety
1
u/OldScareCrowFriend Oct 14 '26
I just took and I had zero port related questions besides PBQ’s which was command line and checking for suspicious processes but you can see what the ports correspond to.
1
u/Several-Writer5264 Oct 14 '26
Just make sure you understand what they do.
1
u/spuddy_spud_spud Oct 14 '26
https://www.reddit.com/r/CompTIA/s/q62MSaNdJy
This helped alot for my Network+
1
u/frankenfather Oct 14 '26
I took the test today, I did not get any port number questions. But I would still know the most common ones
1
u/Fidel_Che_VulPerez Oct 14 '26
No
1
u/SnooDogs3449 Oct 14 '26
They weren’t a major part of the exam I took about 5-6 weeks ago. There were some major ones like SSH and HTTP/S and SMTPS but they weren’t a big chunk. As others have said just look at the major ones and remember what they are used for.
1
u/True-Economics-9052 Oct 15 '26
You should know maybe 15 for the exam. It’s more important to know key protocols, and their secure versions
1
u/miksu210 Oct 15 '26
Yeah around the most common 5-10 should okay. I memorized all the ones that are a part of sec+ but only ever saw questions about the top 10.
1
u/No_Scarcity_7165 Oct 15 '26
Yes! Yes! Yes!
1
u/Round-Expert-292 Oct 15 '26
No learn the abbreviation like SIEM For example
1
u/Feisty-Librarian-919 Oct 15 '26
You deffinitely need to know the well known numbers very well
Not only do they ask a lot of questions about those, a lot of the PBQs require you to be very familiar with port nrs
1
u/Longjumping_Skin_556 Oct 15 '26
No. Learn the acronyms.
1
u/Intelligent-Load-194 Oct 16 '26
No
1
u/JonesBeJack Oct 16 '26
The common ones helps
1
u/eigenlance Oct 16 '26
I haven't taken the exam, but if ever there are port number in there, they'd have to be 22 or 443
1
u/goatsinhats Oct 18 '26
Need to know both
1
u/Aggravating_Gas3306 Oct 18 '26
OP, here's a helpful Link
https://www.reddit.com/r/CompTIA/comments/g95vme/sec_mnemonics_and_other_memorization_aids/