how to close a port that wasn't properly closed linux code example
Example 1: debian kill open port
fuser -k 3000/tcp //will kill that process.
Example 2: how to close port in linux
sudo ufw deny PORT
fuser -k 3000/tcp //will kill that process.
sudo ufw deny PORT