Get-NetTCPConnection : No MSFT_NetTCPConnection objects found with property 'LocalPort' equal to '25565'. Verify the
value of the property and retry.
At line:1 char:19
+ Get-Process -Id (Get-NetTCPConnection -LocalPort 25565).OwningProces ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (25565:UInt16) [Get-NetTCPConnection], CimJobException
+ FullyQualifiedErrorId : CmdletizationQuery_NotFound_LocalPort,Get-NetTCPConnection
Get-Process : Cannot bind argument to parameter 'Id' because it is null.
At line:1 char:18
+ ... Get-Process -Id (Get-NetTCPConnection -LocalPort 25565).OwningProcess
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-Process], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetProcessC
ommand
I checked on my router configuration, and it seems the ports are forwarded correctly. I'm actually switiching ISPs tomorrow so maybe I'll ask them about it.