title: How to stop Glassfish server on Mac when developing Java EE web application when using Netbeans and Mac?
body: <p>I'm new to web application development using java ee, netbeans and mac.  I initially decided to use glassfish as my server, but later I have changed my mind and decided to use tomcat instead.</p>
  
  <p>When I created a web application project that include a tomcat server and tried to run it, I got error "Deployment error:Starting of Tomcat failed, the server port 8080 is already in use". I think it is due to the fact that my previous Glassfish server is using the port. How to stop the Glassfish server?</p>