top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How can I change the port of my Java Web Server from 8080 to something else?

+2 votes
373 views
How can I change the port of my Java Web Server from 8080 to something else?
posted Nov 26, 2015 by Dominic

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

It is very simple. JAVA WEB SERVER comes with remote Web administration tool. You can access this with a web browser.
Administration tool is located on port 9090 on your web server. To change port address for web server:
Access tool (http://hostname:9090)
Enter User Id/Password (by default it is admin/admin)

Select service (Web service)

Click on “manage” button. You will get a popup screen with all settings.

Click on network tree node, On right hand side you will get text box for entering port no.

Change port number with desire one.

click on restart button.

answer Nov 27, 2015 by Karthick.c
Similar Questions
+1 vote

I am opening a single JDBC connection in my init() method. Do I need to synchronize on the Connection or the Statement object?

+2 votes

Which is the most efficient (i.e. processing speed) way to create a server application that accesses a database: A Servlet using JDBC; a JSP page using a JavaBean to carry out the db access; or JSP combined with a Servlet? Are these my only choices?

...