Error ndmpagent (pid=6536) ndmp_data_connect_v3 failed

Error ndmpagent (pid=6536) ndmp_data_connect_v3 failed, status = -1

While backing up my NDMP share I kept getting an annoying message and the backups were failing, everything was configured fine in my Netbackup 8 console but the error still persisted with the below message.

All I had to do is open up the firewall ports on the Windows server and the backup started working, so in case you see the same message try opening up the firewall ports and re-run the backup.

The ports that should be opened are from 1025-5000, as an inbound rule using the windows firewall.