Avatar of alrobai00
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Change the Glassfish server port in Netbeans over Mac

I installed Netbeans version (IDE 6.9.1) with Glassfish (V3) server on Mac OS X version (10.6.4), then I installed (PostgreSQL). After that I had a problem as both products are using the same port (8080).

So I tried to change the port of Glassfish server from the Netbeans, but I found that the port is readonly. After searching over the Internet I found that I can update the file called (domain.xml) and I put the following values:

 <network-listener port="10080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />

          <network-listener port="10443" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool" />

          <network-listener port="4848" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="http-thread-pool" />

I can run the server now since it takes the new values, but when I run any JSP project in the netbeans It gives me an error message since the value is still 8080 in the netbeans.

Editors IDEs

Avatar of undefined
Last Comment

8/22/2022 - Mon