Accessing an other computer on your local network for any purpose is possible in a few different ways...
1. By IP - it is the most direct way as an IP directly represent a computer (device) on your network
2. By name - in this case the name will be translated using your DNS service and then the resolved IP will be used
3. By map - you can map any name to any IP address (more than one name to the same address, but not the other way!) using the
hosts[
^] file. This will - locally - resolve the name to the IP address and then that IP will be used
As you can see all the options fall back to the IP as the lowest level of access, and to be honest I can't see a reason why not to use it in a local, test environment...