For your Mac or Ubuntu machine *.local is a special prefix to find your local machine on your home network.
cat /etc/hostname
For example if your hostname is ubuntu2004, then you can access it on your nework if you are running a server as:

Technical notes, and other ideas.
For your Mac or Ubuntu machine *.local is a special prefix to find your local machine on your home network.
cat /etc/hostname
For example if your hostname is ubuntu2004, then you can access it on your nework if you are running a server as: