Getting error code 51

I had the sam issue. I was using wsl2 and switched to wsl1 which resulted in the crush of the db server. Acording to Microsoft docs, MongoDB can be installed to the wsl2. My opinion is that it is because of the file-system.