How to check on which port apache is running
lsof -i
list open ports and the corresponding applications.
For a general check if an app is running you could just use ps aux | grep apache2
netstat -anp | grep apache
You could see the listening port and PID from this if it's running.
netstat -tulpn
You'll see the Pid / Binary name on far right column, match this to your running apache instance.