Add both local host and master to hosts