Prepositions of connection
Use
to when two things are physically connected:
My game console is connected to the TV.
The computer isn't attached to the printer.
My headphones aren't connected to my phone.
The offices are wired to the building's alarm.