The port on which RWP listens for HTTP requests is defined by the Listen parameter in httpd.conf. For example, Listen 80 tells RWP to listen on port 80 (the default for HTTP). You can change this to specify any available port number. For example, Listen 8000 tells RWP to listen on port 8000.
If you want to change the default RWP port, or add additional ports, you must modify the httpd.conf, plugin_cfg.xml and virutalhosts.xml files. If you are using more than one profile, you must modify all of these files for every profile you use. See To change the default RWP ports for file locations. You do not need to modify the serverindex.xml file, which defines the WAS Embedded Express ports, unless you have another instance of WAS Embedded Express installed that is using the same ports.