You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Net.Internals.SocketExceptionFactory.ExtendedSocketException:
"No connection could be made because the target machine actively refused it.
[::ffff:127.0.0.1]:12345"
If modify new TcpListener(IPAddress.IPv6Loopback, 12345) to new TcpListener(IPAddress.IPv6Any, 12345), all works fine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If
then
get
If modify
new TcpListener(IPAddress.IPv6Loopback, 12345)
tonew TcpListener(IPAddress.IPv6Any, 12345)
, all works fine.Why I can make a dual mode listener at loopback?
Platform:
Win10 20H2 x64, .NET 5, VS2019
Beta Was this translation helpful? Give feedback.
All reactions