check which port service is running in linux

see what is using port 80. Get the PID from the results. sudo lsof -i :80 Kill the process. sudo kill [PID]

apt install docker.io
sudo systemctl list-units --type=service | grep "docker"

Comments