What is using my port – Error: That port is already in use

# netstat -tulpn | grep :80

You will get something like:

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN 

Now you get the process number and you can proceed to kill it. In this case 12608:

kill -9 12608