We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93ed9ca commit 5b6bdbeCopy full SHA for 5b6bdbe
Runtime/LLMUnitySetup.cs
@@ -313,7 +313,7 @@ public static int NumServersForPortNetstat(int port)
313
int num = 0;
314
try
315
{
316
- string netstatOutput = RunProcess("netstat", "-lan -p tcp");
+ string netstatOutput = RunProcess("netstat", "-an -p tcp");
317
Regex regex = new Regex(@"^.*(?i:tcp).*?[:.](?<LocalPort>\d+)\b\s.*\bLISTEN[ING]*\b", RegexOptions.Multiline);
318
MatchCollection matches = regex.Matches(netstatOutput);
319
foreach (Match match in matches)
0 commit comments