Find your computer’s name and network address on Mac
If other people want to locate your Mac on the network, they need to know your computer’s name or network address. Your Mac has several identifiers that people may look for on the network: computer name, local hostname (or local network name) and network address.
Find your computer’s name
If you’re sharing your computer’s screen or files, other users on your network can find your Mac by looking for its computer name.
On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click About on the right. (You may need to scroll down.)
If you want to change your computer’s name, you can enter a new name in the Name field.
Find your computer’s local hostname
Your computer’s local hostname, or local network name, is displayed on your local network so others on the network can connect to your Mac. It also identifies your Mac to Bonjour-compatible services.
On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click Sharing on the right. (You may need to scroll down.)
Your computer’s local hostname is displayed at the bottom of Sharing settings
The local network name is your computer’s name with .local added, and any spaces are replaced with hyphens (-). For example, if your computer’s name is My Computer, your local network name is My-Computer.local. Local network names aren’t case sensitive, so my-computer.local is the same as My-Computer.local.
If you want to change your computer’s local hostname, click Edit, enter a new name in the “Local hostname” field, then click OK.
Find your computer’s network address
If you’re sharing your computer’s screen, allowing remote logins or management, or sharing files, other users may need to know your computer’s network address instead of its name to access these services.
On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click Sharing on the right. (You may need to scroll down.)
Click the Info button to the right of a service that’s turned on.
The network address for the service is displayed in the window. For example:
If you select Screen Sharing, the network address looks similar to vnc://10.212.167.33 or vnc://name.example.com.
if you select File Sharing, the network address looks similar to smb://10.212.167.33 or smb://name.example.com.
If you select Remote Login, the network address looks similar to username@10.212.167.33 or username@name.example.com.
If you select Remote Management, the network address looks similar to 10.212.167.33 or name.example.com.
Your computer’s network address is provided by the Domain Name System (DNS) server your computer uses. If you don’t use a DNS service, the network address is derived from your computer name.