Couldn't find an AF_INET address for [hostname.local] with Virtual Machine
I was using VM with ROS kinetic and Raspberry pi with ubiquityrobot os. I have configured the correct ROS_IP and ROS_MASTER_URI on both machines but still when I connect the Raspberry pi to my VM the following error shows up in my roscore.
Couldn't find an AF_INET address for [ubiquityrobot.local]
I have also tried editing the /etc/hosts file with 192.168.0.X hostname but it still doesn't work.
What is the cause of this error message and how to fix it?