To change the default ports used by FlexRAID, you need to edit the Port.js file in your installation directory.
The core service port cannot be disabled and will default to 9595 if you attempt to set it to an invalid value.
The Web Client ports can both be disabled, but then you will not be able to access it. This is not an issue if you are using a third party client that communicates with FlexRAID directly through the core.
See the screenshots below for additional info.