Netbeans Problem: How To Change Port Number For GlassFish



Both Oracle an GlassFish runs by default on port number 8080,results in port conflict
Following are simple steps to change the port number of glassfish server :

  1. Go to the folder where Glassfish is installed.
  2. Locate config folder which is as follows: C:Program Filesglassfish-3.0.1glassfishdomainsdomain1config
  3. Open domain.xml using any text editor.
  4. Look for 8080 and change it to some other port number that doesn’t conflict with other port numbers.
  5. Save domain.xml.
  6. Now  remove GlassFish from NetBeans and add it again so that NetBeans IDE understands the new port number.
  7. Restart GlassFish, if it was already running.
Enhanced by Zemanta




Comments (2)

 

  1. marving says:

    I followed your instructions but not working
    Go! Google Chrome could not connect to localhost page.

Leave a Reply