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
- Make port number edits to files in the DDF install folder. Line numbers are referenced for 2.1.X releases.
File to Edit | Line Number | Original Value | Example of New Value |
---|---|---|---|
bin/karaf.bat | 99 | 5005 | i.e. 5006 |
etc/org.apache.karaf.management.cfg | 27 | 1099 | i.e. 1199 |
" " | 32 | 44444 | i.e. 44445 |
etc/org.ops4j.pax.web.cfg | 9 | 8181 | i.e. 8281 |
" " | 22 | 8993 | i.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?