/
HTTP Port Configuration

HTTP Port Configuration

HTTP Port Configuration

Do not use the Web Administration Console to change the HTTP port. While the Web Administration Console's Pax Web Runtime offers this configuration option, it has proven to be unreliable and may crash the system

 

Multiple Local DDF Nodes

    1. Make port number edits to files in the DDF install folder. Line numbers are referenced for 2.1.X releases.
File to EditLine NumberOriginal ValueExample of New Value
bin/karaf.bat995005i.e. 5006
etc/org.apache.karaf.management.cfg271099i.e. 1199
" "3244444i.e. 44445
etc/org.ops4j.pax.web.cfg98181i.e. 8281
" "228993i.e. 8994

Be sure to note the port number that replaced "8181" and enter that in the Web Console under the Configuration tab for the Platform Global Configuration -> DDF Port entry. Also edit the sitename so that there are no duplicates on your local machine.

Keep in mind that only root can access ports<1024 on Unix systems. For suggested ways to run DDF with ports < 1024 see How do I use port 80 as a non-root user?