I use Netbeans 6.7 to develop Java servlet. It defaults to port 8080. How do I change the port number to 8083 for example?
Open domain. Look for 8080 and change it to some other port number that doesn't conflict with other port numbers. Save domain. xml. Now remove GlassFish from NetBeans and add it again so that NetBeans IDE understands the new port number.
You can change the port, using the property editors available on the Servers dialog.
Select the Servers item from the Tools menu.alt text http://www.freeimagehosting.net/uploads/e8ed5c303e.png
This image was captured from 6.8... but the dialog has been available (pretty much unchanged) since NetBeans 4.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With