Can't connect when challenging friend (Switch)

Did either of you need to forward your ports before to play each other Steam-to-Steam? If so, then you’ll have to change the port forwarding to the Switch instead of the PC. The ports that may need to be forwarded are at this link: Ports to forward for connection issues: UDP 9991 and 19900