The PowerShell Toolkit uses the standard management ports...80 (HTTP) and 443 (HTTPS)...to talk with the ONTAP API. Also, port 22 if you're using the Invoke-NcSsh cmdlet. I think 7-mode RPC authentication might use something different, but I don't know that port off the top of my head.
Hope that helps.
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.