I am new to Ubuntu (I installed it just 4 days ago) and want to know something about network ports: which port is opened or closed?
I read many answers about this field, but I am unable to understand how to identify ports (opened or closed). When I run this command sudo netstat -ntlup
I get the following output:
Could you tell me, which port is open or at risk? How to close open ports using firewall rules?
Your answer depends on what your definition of "open ports" are:
if you mean by "open ports", the ports that are open on your internal LAN, then the
netstat
command is very useful and looking at the output of your command, the open ports are absolutely normal for a computer that:if you mean by "open ports", the ports that are visible to the Internet, then the
netstat
command is not very useful and there are tons of sites out there that can test your Internet connectivity. Here's just one of the oldest and best