question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to register observatory port with mDNS with error -65555.

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Mar 4, 2021

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.

1reaction
alechangbiaocommented, Jan 29, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found