Advertisement

Udemy WW Udemy WW
Showing posts with label Netbeans problem. Show all posts
Showing posts with label Netbeans problem. Show all posts

Thursday, 26 January 2012

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 Files\glassfish-3.0.1\glassfish\domains\domain1\config
  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.

Advertisement

Udemy WW