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
I'm a bit late, too, but I'll add my comments just-the-same in case anyone runs across this issue in the future. I'm running Windows 7 with NetBeans 6.9.1 and GlassFish 3 locally on a different port (2118) as not to conflict with my Tomcat server on default (8080). If you navigate to , you'll find your .nbattrs file.
Edit to reflect the desired port. Save the file. Restart your server and you should be able to deploy/test your web apps, as desired, using NetBeans.
Incidentally, poking around under , you'll see another .nbattrs file and because I have two app servers installed locally, I see for Tomcat and for GlassFish. XML entries and reflect the respective assigned ports for each server and the change made in the previous .nbattrs file.
Hope this helps.