We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e36192 commit d0f4353Copy full SHA for d0f4353
dotnet/src/webdriver/Internal/PortUtilities.cs
@@ -35,7 +35,7 @@ public static int FindFreePort()
35
{
36
using var socket = new Socket(AddressFamily.InterNetworkV6, SocketType.Stream, ProtocolType.Tcp);
37
socket.DualMode = true;
38
- socket.Bind(new IPEndPoint(IPAddress.IPv6Loopback, 0));
+ socket.Bind(new IPEndPoint(IPAddress.IPv6Any, 0));
39
return (socket.LocalEndPoint as IPEndPoint)!.Port;
40
41
}
0 commit comments