Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3224750
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:15:35+00:00 2026-05-17T16:15:35+00:00

I have Netbeans IDE version 6.8, and Glassfish version 3. My glassfish listener is

  • 0

I have Netbeans IDE version 6.8, and Glassfish version 3.
My glassfish listener is set to port 81, but when I try to run the simplest web application via the Netbenas IDE it tries to run it on port 8080. where can I change it ? Using port 8080 for my web application is out of the question for me.

  • 1 1 Answer
  • 4 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:15:35+00:00Added an answer on May 17, 2026 at 4:15 pm

    A bit late, but this should work…

    I don’t have 6.8 anymore, but the following is true for 6.9 and 6.10m1 – in the directory <home dir>/.netbeans/<version>/config, there is a file called .nbattrs – edit it, and look for something like:

    <attr name="GlassFishEE6\Instances\glassfish_autoregistered_instance\httpportnumber" stringvalue="8082"/>

    Change the value to whatever you’ve set in the appropriate Glassfish domain. If, like me, you have more than one version of Glassfish installed, or perhaps multiple domains, just look out for the ….displayName keys and follow your nose – it should be obvious which one you’re altering.

    HTH,

    John

    NB: you can, of course, delete the server and add it in again using the wizard to select the right ports – but I think editing .nbattrs is far easier

    NB2: there is another .nbattrs file further down the directory chain that also contains glassfish config (can’t remember the exact location – sorry!) and this looks like the right place to change the port – but editing this file appears to have no effect as, for me, it gets overridden with whatever is in config/.nbattrs file whenever I start up Netbeans

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using NetBeans IDE 6.9.1. I have a web application in JSP using Spring
i am new to netbeans ide , i have a swing desktop application and
I am using a the NetBeans 7.x IDE. I have a Netbeans Application module.
i have done my project on netbeans IDE version 6.9.1 And now i tried
I have successfully developed some application using netbeans as IDE. and they are all
I have developed EJB using NETbeans IDE having glassfish server. I can call it
I have developed Java Servlet on Netbeans IDE and now wish to deploy them
I'm using the NetBeans IDE(6.8). I have a DB class : package garits; import
greetings, today i have started to learn java using netbeans ide. i would like
Does NetBeans have something akin to Set Next Statement/Instruction when debugging in Java?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.