Check opened inbound and outbound ports in Linux

[root@localhost~]# nmap IP_Addresss