Advertisement

Udemy WW Udemy WW

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.

29 comments:

  1. I modified but not change, please help me,
    thanks

    ReplyDelete
    Replies
    1. Can you let me what error message you get

      Delete
    2. Deployment error: Could not start GlassFish Server: HTTP or HTTPS listener port is occupied while server is not running
      See the server log for details.
      BUILD FAILED (total time: 0 seconds)

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

    ReplyDelete
  3. Thanks Its work for me

    ReplyDelete
  4. Thanks it worked for me

    ReplyDelete
  5. followed the instructions. but it is not letting me change the port number... getting message access denied

    ReplyDelete
    Replies
    1. Might be you have not logged in with admin or file is write protected.You can copy domain.xml file to other place and can change the port then you need to replace this file with original domain.xml

      Delete
  6. Deployment error: Could not start GlassFish Server 4.1.1: HTTP or HTTPS listener port is occupied while server is not running
    See the server log for details.

    ReplyDelete
    Replies
    1. it seems that same port number is used by other running services.Please try with some other port number

      Delete
  7. i followed all the steps but it didn't change because on saving the file in note pad it shows access is denied even i am using the administrator account ! what can be the issue...

    ReplyDelete
    Replies
    1. Might be you have not logged in with admin or file is write protected.You can copy domain.xml file to other place and can change the port then you need to replace this file with original domain.xml

      Delete
  8. i did it but not get my solution

    ReplyDelete
  9. Nursing jobs in Germany present a fantastic opportunity for Indian nurses eager to elevate their careers in a thriving healthcare system. With a strong demand for qualified nursing professionals, Indian nurses can find a variety of roles, from hospitals to rehabilitation centers. These positions often come with competitive salaries and comprehensive benefits packages. Most employers require a valid nursing qualification and basic proficiency in the German language, but language courses are frequently available to aid in the transition. Additionally, many healthcare facilities support ongoing professional development and specialization, allowing nurses to advance their skills. The high standard of living, combined with a welcoming environment, makes Germany an appealing destination for Indian nursing professionals. This unique opportunity allows for both personal growth and the chance to make a meaningful impact on patients' lives in a new cultural context. Join the ranks of international healthcare professionals and explore the rewarding nursing landscape in Germany.
    https://www.dynamichealthstaff.com/nursing-jobs-in-germany-for-indian-nurses

    ReplyDelete

Advertisement

Udemy WW