Access denied while calling maapi_delete

Hi,
when i start the application with default confd port as 4565,then mappi_delete works fine.
But when i start the confd port as 4566 instead of 4565 then its giving error like “access denied”.
If you can figure out the root cause then it will be really helpful.
LOG:
[doinit init for config.c]
[TRACE Connected (maapi) to ConfD]
[TRACE MAAPI_LOAD_ALL_NS]
[TRACE MAAPI_LOAD_MNS_MAPS]
[TRACE MAAPI_LOAD_HASH_DB]
[TRACE Connected (dp) to ConfD]
[TRACE Received daemon id 7]
[TRACE Connected (dp) to ConfD]
[TRACE Picked up old user session: 12 for user:system ctx:system]
[TRACE Picked up old user session: 11 for user:system ctx:system]
[TRACE Picked up old user session: 10 for user:system ctx:system]
[TRACE Picked up old user session: 1 for user:system ctx:system]
[TRACE Connected (maapi) to ConfD]
[TRACE MAAPI_START_USER_SESSION → CONFD_OK]
[TRACE MAAPI_START_TRANS ]
[ → CONFD_OK]
[TRACE MAAPI_SET_NAMESPACE → CONFD_OK]
[TRACE MAAPI_DELETE user-plane-configurationDEBUG access denied - access denied]

Regards,
Biswajit

The message “access denied” comes from NACM - the user is not allowed to do that particular operation. I don’t think it has anything to do with the IPC port, so I would say the root case is that while switching the IPC port you somehow change also the ConfD user, or something like that.