I haven't seen any document procedure for doing this, but I believe it _should_ be possible, since the databases IP address (127.0.0.1) is defined in a couple of XML files.
If this is a production system, it might be best to log a support case, to find out if there is a fully supported procedure.