When I use this command:
mount remoteServerA:/pathInServer localpath
Which ports it use?
I don't know the type of the server (I guess it Linux server).
The mount
command with network drives will use NFS by default, which runs on ports 111 and 2049, but can also use additional ports in some configurations. See this serverfault answer for more details.