I am trying to find out the difference what ubuntu firewall is doing.
First I disabled the firewall, using
sudo ufw disable and run nmap scan over localhost
sudo nmap 127.0.0.1. I got the result
Starting Nmap 6.40 ( http://nmap.org ) at 2016-10-09 14:48 IST Nmap scan report for localhost (127.0.0.1) Host is up (0.000016s latency). Not shown: 997 closed ports PORT STATE SERVICE 80/tcp open http 631/tcp open ipp 3306/tcp open mysql
After enabling firewall, I run nmap, and got same result. So what is the difference ?