port

The port read-only property of the MIDIConnectionEvent interface returns the port that has been disconnected or connected.

MDN Reference