Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change to a different port for Java server in Netbeans to listen?

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?

like image 999
Frank Avatar asked Apr 01 '10 14:04

Frank


People also ask

How do I change the port of GlassFish server in NetBeans?

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.


1 Answers

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.

like image 101
vkraemer Avatar answered Nov 04 '22 23:11

vkraemer