Firstly, view if the port number in question is in use by running following command:
//Display all the port number in use netstat -tulnap
fuser
// for e.g. sudo fuser -k 4444/tcp sudo fuser -k /tcp