Check Listening Ports in Linux (Ports in use)

Image
  How to Check for Listening Ports in Linux (Ports in use) When troubleshooting network connectivity or application-specific issues, one of the first things to check should be what ports are actually in use on your system and which application is listening on a specific port. This article explains how to use the  netstat ,  ss  and  lsof  commands to find out which services are listening on which ports. The instructions are applicable for all Linux and Unix-based operating systems like macOS. What is Listening Port Network port is identified by its number, the associated IP address, and type of the communication protocol, such as TCP or UDP. Listening port is a network port on which an application or process listens on, acting as a communication endpoint. Each listening port can be open or closed (filtered) using a firewall. In general terms, an  open port  is a network port that accepts incoming packets from remote locations. You can’t have two s...

NAS share “Disk Quota Exceed” error Fix


Problem:- 
In one of my Linux box, NAS share was mounted on the directory under /archive2015. The space of the NAS share was 150 GB and the used size is 137 GB but when we try to create any file or directory we were getting a “Disk Quota Exceed” error.

Solution:- 
As it was NAS file system, In NAS there is two types of quota. you can set limits for warnings on soft quota and hard quota on a different time schedule in this problem we need to check both quota limit and one more thing after a weak soft quota also convert in hard quota automatically. so this warning may be due soft quota .

How to Mount NAS in Linux 
Run the following command:
mount <NAS Ethernet Interface IP>:/share/<Shared Folder Name> <Directory to Mount>
mount -t nfs 192.168.0.42:/share/public/mnt/pub

Specify your NAS username and password.

done!!!






Comments

Popular posts from this blog

Check Listening Ports in Linux (Ports in use)

What is Cyber Attacks ? And How many type of Cyber Attacks in 2022 .