When deploying the system on a Linux server, use a firewall to enable the port number, otherwise the program will not know how to die, as shown below:

// Enable port 21

 firewall-cmd –zone=public –add-port=21/tcp –permanent

// Reload

 firewall-cmd –reload