Mar 30, 2011

How to change Hudson Jenkins default port.

The Hudson and Jenkins CI build servers run by default on port 8080.

To change this all you have to do is edit the hudson.xml or jenkins.xml
file respectively.
This file is located directly under the build server's installation directory.

You'll notice that the xml contains a <service> which describes the windows
service configuration.

Locate the argument --httpPort=8080 and replace the 8080 port with the one you want.

If you have enabled email notification also change the URL in the E-Mail Notification settings section
inside the Server settings:

Also change the URL of the e-mail notification settings.

Mar 28, 2011

Change Oracle 9i TNS Listener port from 8080

The Oracle XMLDB port listens on the port 8080.

To change this port to e.g. 8083 you need to login as SYSDBA and execute the following scripts:
( the first call changes the port number, the second refreshes the settings )

call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 8083));

exec dbms_xdb.cfg_refresh;

Real Time Web Analytics