با دستور زیر و فیچر های مقابل میتوان از پورت هایی که استفاده می شوند را ملاحضه نمود

netstat -tulpn

  • -t : TCP port
  • -u : UDP port
  • -l : Show only listening sockets.
  • -p : Show the PID and name of the program to which each socket / port belongs
  • -n : No DNS lookup (speed up operation)