When a port shows up in
netstat I know its open and listening. But thing is, how do I know what other ports are actually open on my server, even though they may not be listening right now?
How can I view a complete list of all ports that are actually enabled even though they may not be listening or being used right now?
I'd like to shut down those, so not one can exploit them.
Right now, there 80 and that's Apache. What others are actually there but not being displayed. I'm on a VPS like AWS.