An excerpt from the output of netstat
:
tcp4 0 0 192.168.2.48.49620 stackoverflow.co.https ESTABLISHED
tcp4 0 0 192.168.2.48.49554 stackoverflow.co.https ESTABLISHED
tcp4 0 0 192.168.2.48.49520 stackoverflow.co.https ESTABLISHED
tcp4 0 0 192.168.2.48.49517 stackoverflow.co.https ESTABLISHED
tcp4 0 0 192.168.2.48.49424 stackoverflow.co.https ESTABLISHED
tcp4 0 0 192.168.2.48.49227 stackoverflow.co.https ESTABLISHED
However, in the output of sudo nmap -p- 192.168.2.48
, none of these ports are listed. What is the problem? Why doesn't nmap
show all open ports?
netstat
, right?