No connection could be made because the target machine actively refused it

Sysprogs forums Forums VisualKernel No connection could be made because the target machine actively refused it

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30273
    agricartel
    Participant

    Hello,

    I am trying to set up a kernel module project, and connect to a Debian VM on my system via SSH (on localhost:4498). Below is the output from the error window:

    VisualKernel version: 3.1.7.2252
    —————— System.Net.Sockets.SocketException ——————
    System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it [::1]:4498
    at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
    at System.Net.Sockets.TcpClient.Connect(IPAddress[] ipAddresses, Int32 port)
    at hg2.x.d(IPAddress[] b, Int32 a)
    at hg2.e(SSHConnectionSettings d, String b, x c, Boolean e, Boolean a)

     

    I have confirmed that port is up, and can SSH into the VM from powershell on the host machine. I have also have currently disabled windows defender firewall.

     

    Thanks.

    #30281
    support
    Keymaster

    Hi,

    This looks like an IPv6/IPv4 issue. Please try specifying “127.0.0.1” or instead of localhost, or using the IP address from another network interface.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.