---
title: "Discussion on \"How to solve \"Failed to open a connection to the device (-21345)\" when trying to scan using…\" | Hashnode"
description: "Discussion on \"How to solve \"Failed to open a connection to the device (-21345)\" when trying to scan using…\". After trying to scan from my Brother Printer MFC-J995DW using my Mac under Catalina, I faced this problem and found a solution, related to IPV6 address conflicting with the AirPrint scanning feature. So here is a small step by step to help you resolv..."
url: "https://hashnode.com/posts/how-to-solve-failed-to-open-a-connection-to-the-device-21345-when-trying-to-scan-using-airplay/609bdb3500bbde79d86a68eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to solve "Failed to open a connection to the device (-21345)" when trying to scan using…](https://blog.florent.site/how-to-solve-failed-to-open-a-connection-to-the-device-21345-when-trying-to-scan-using-airplay?utm_source=hashnode&utm_medium=feed)

After trying to scan from my Brother Printer MFC-J995DW using my Mac under Catalina, I faced this problem and found a solution, related to IPV6 address conflicting with the AirPrint scanning feature. So here is a small step by step to help you resolv...

Feb 24, 2021 · 3 min read · blog.florent.site  
Read the article

## Written by

[Florent Cima](https://hashnode.com/@florentcm)

@florentcm · Montreal, QC

  
[View profile](https://hashnode.com/@florentcm)

Lead web developer, violinist, and smart-home-enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
