Failed to register observatory port with mDNS with error -65555.
See original GitHub issueI don’t have a reproduction for this, but I have run into a situation where I can launch with flutter run
but trying to launch with the VSCode debug button I get this error
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Flutter iOS 14.0 build error: Failed to register observatory port ...
For you to fix this error. open the iPhone simulator then run your flutter project. then go to System Preferences > Security &...
Read more >Failed to register observatory port with mDNS with error -65555.
Failed to register observatory port with mDNS with error -65555. On iOS 14+, local network broadcast in apps need to be declared in...
Read more >Flutter运行Ios真机时报错:Failed to register observatory port ...
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
Read more >[HowTo] enable Local Network Privacy Permissions on iOS14+
After trying to launch my-flutter-app on iOS14 iPhone, then it displayed an issue about Failed to register observatory port with mDNS.
Read more >Flutter iOS 14.0 build error: Failed to register observatory port ...
Coding example for the question Flutter iOS 14.0 build error: Failed to register observatory port with mDNS-Flutter.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been marked stale because it is tagged awaiting-info for 30 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
I’m facing the same problem on vscode, flutter runs on terminal but not on vscode debug,however everytime when I use an IKEv2 VPN the problem disappears.