The open() method of the MIDIPort interface makes the MIDI device connected to this MIDIPort explicitly available.
open()
MIDIPort
MDN Reference