You say they are both called OctoPrint on your network. Perhaps renaming one of the Raspberry Pi's to OctoPrint2 would resolve that confusion.