Some tutorials advocate (rightly, IMHO) using mDNS to connect without prior knowledge of the IP address.
However this one at least https://www.raspberrypi.com/tutorials/nas-box-raspberry-pi-tutorial/ directs users to lookup the IP address in their router.