Make sure both retropie and roms are on the same network through wi-fi or ethernet cable. You can use the Finder tool to access the retropie over the network in Mac OS. There is a similar function in Windows too, a finder tool to access retropie over the network; you can use that too.