XCP-ng - mount.nfs: access denied by server while mounting

Trying to configure XCP-ng for SR {VDI, ISO} and Remote Backups but getting denied to mount NFS.

For Remote Backups:


XCP-ng Lab Backup
    Start: Jul 20, 2022, 11:50:50 PM
    End: Jul 20, 2022, 11:50:50 PM
    Duration: a few seconds
    Error: Command failed with exit code 32: mount -o -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab

For SR {VDI, ISO}:

remote.test
{
  "id": "ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce"
}
{
  "shortMessage": "Command failed with exit code 32: mount -o  -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce",
  "command": "mount -o  -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce",
  "escapedCommand": "mount -o \"\" -t nfs \"10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab\" \"/run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce\"",
  "exitCode": 32,
  "stdout": "",
  "stderr": "mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab",
  "failed": true,
  "timedOut": false,
  "isCanceled": false,
  "killed": false,
  "message": "Command failed with exit code 32: mount -o  -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce
mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab",
  "name": "Error",
  "stack": "Error: Command failed with exit code 32: mount -o  -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce
mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab
    at makeError (/opt/xo/xo-builds/xen-orchestra-202207160304/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/opt/xo/xo-builds/xen-orchestra-202207160304/node_modules/execa/index.js:118:26)
    at NfsHandler._sync (/opt/xo/xo-builds/xen-orchestra-202207160304/@xen-orchestra/fs/src/_mount.js:64:7)"
}

I can successfully do this for XCP-ng:

**22:33 ****xcp-lab **~]# showmount --exports leapitstation 
Export list for leapitstation: 
/home/nasheayahu/Documents/XCP-ng-lab               10.70.70.0/24,10.60.70.0/24 
/run/media/Backup-I/XCP-ng-lab                      10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/Pop!_OS              10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/RHEL                 10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/MX-Linux             10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/AlmaLinux-9.0-x86_64 10.70.70.0/24,10.60.70.0/24

and on Leap:

nasheayahu@leapitstation:~> sudo showmount --exports 10.60.70.45 
Export list for 10.60.70.45: 
/home/nasheayahu/Documents/XCP-ng-lab               10.70.70.0/24,10.60.70.0/24 
/run/media/Backup-I/XCP-ng-lab                      10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/Pop!_OS              10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/RHEL                 10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/MX-Linux             10.70.70.0/24,10.60.70.0/24 
/home/nasheayahu/Downloads/Iso/AlmaLinux-9.0-x86_64 10.70.70.0/24,10.60.70.0/24

Permission for /home/nasheayahu/Documents/XCP-ng-lab
drwxr-xr-x 1 nasheayahu users 0 Jul 21 00:17 **XCP-ng-lab
**
Permission for /run/media/Backup-I/XCP-ng-lab (a mounted HD on a Insignia Mounting Station)
drwxr-xr-x 3 root root 4096 Jul 20 22:59 XCP-ng-lab

What do I need to do to fix this?

Does it work without :2049?

mount -o "" -t nfs 10.60.70.45:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce

Wow, thank you, that was it, removing the port from the setting. :):'(:good: