net6.0-ios/debugging: no listener on any ipv6 address on port 10000 but debugged app try to connect to ipv6 addresses
Description
From a mac, with visual studio mac, trying to debug a maui app on an iOS device shows this log:

The app tries to connect to the debugger using ipv6 addresses. But the debugger listens only on ipv4.
netstat -an -ptcp

Reproduction Steps
- Create a maui app on a mac
- Start debugging it with visual studio mac
- Open the console app and filter on the mobile app's process
- Read the log
Expected behavior
Either the debugger's server should listen to both ipv4 and ipv6, or the debugger's client should filter out ipv6 when trying to connect to its server.
Actual behavior
the debugger's server listen only to ipv4 on port 10000
Regression?
no
Known Workarounds
none. If ipv4 is disabled or not routed correctly, the debugger won't be able to connect.
Also, using ipv6 should improve a lot the connection speed, thus improving the whole debugging experience.
Configuration

Other information
No response
Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.
Issue Details
Description
From a mac, with visual studio mac, trying to debug a maui app on an iOS device shows this log:

The app tries to connect to the debugger using ipv6 addresses. But the debugger listens only on ipv4.
netstat -an -ptcp

Reproduction Steps
- Create a maui app on a mac
- Start debugging it with visual studio mac
- Open the console app and filter on the mobile app's process
- Read the log
Expected behavior
Either the debugger's server should listen to both ipv4 and ipv6, or the debugger's client should filter out ipv6 when trying to connect to its server.
Actual behavior
the debugger's server listen only to ipv4 on port 10000
Regression?
no
Known Workarounds
none. If ipv4 is disabled or not routed correctly, the debugger won't be able to connect.
Also, using ipv6 should improve a lot the connection speed, thus improving the whole debugging experience.
Configuration

Other information
No response
| Author: | softlion |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
Tagging subscribers to this area: @thaystg See info in area-owners.md if you want to be subscribed.
Issue Details
Description
From a mac, with visual studio mac, trying to debug a maui app on an iOS device shows this log:

The app tries to connect to the debugger using ipv6 addresses. But the debugger listens only on ipv4.
netstat -an -ptcp

Reproduction Steps
- Create a maui app on a mac
- Start debugging it with visual studio mac
- Open the console app and filter on the mobile app's process
- Read the log
Expected behavior
Either the debugger's server should listen to both ipv4 and ipv6, or the debugger's client should filter out ipv6 when trying to connect to its server.
Actual behavior
the debugger's server listen only to ipv4 on port 10000
Regression?
no
Known Workarounds
none. If ipv4 is disabled or not routed correctly, the debugger won't be able to connect.
Also, using ipv6 should improve a lot the connection speed, thus improving the whole debugging experience.
Configuration

Other information
No response
| Author: | softlion |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
cc @steveisok
@mauroa is investigating it, it looks like it's an issue on windows too.
It looks likes to be completely not related with mono debugger, because it's before runtime or debugger-libs code In this line: https://github.com/xamarin/maciostools/blob/16e286fefc262d21e27884f19d55ffb40771823e/Xamarin.MacDev.Ide/IPhoneDevice.cs#L591 It's not connecting, returns error 22
Moved to https://github.com/xamarin/maciostools/ repo