remexec falha ao conectar-se com o código de erro 10060

0

Estou tentando executar o comando via remexec na minha VM.

A VM tem seu próprio endereço IP e é pingada, e até a pasta compartilhada está funcionando via IP.

Mas o remexec falha:

C:\Users\User>remexec 192.168.72.133 -q -t 6000 -l admin -p admin "c:\temp\test.bat"
Opening connection to 192.168.72.133 failed: 10060

Alguma idéia? O que poderia estar errado e como corrigir?

Ping:

>ping 192.168.72.133

Pinging 192.168.72.133 with 32 bytes of data:
Reply from 192.168.72.133: bytes=32 time<1ms TTL=128
Reply from 192.168.72.133: bytes=32 time<1ms TTL=128
Reply from 192.168.72.133: bytes=32 time<1ms TTL=128
Reply from 192.168.72.133: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.72.133:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Configuração do ip da VM:

C:\temp>ipconfig -all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : VMHost
   Primary Dns Suffix  . . . . . . . : domen.x
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : domen.x

Ethernet adapter Local Area Connection 3:

   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : <hidden for security reason>
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::c08:71ca:327b:df7f%17(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.72.133(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 20. july 2015 11:19:10
   Lease Expires . . . . . . . . . . : 21. july 2015 11:25:29
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : <hidden for security reason>
   DHCPv6 IAID . . . . . . . . . . . : <hidden for security reason>
   DHCPv6 Client DUID. . . . . . . . : <hidden for security reason>

   DNS Servers . . . . . . . . . . . : 192.168.72.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
    
por Ksice 21.07.2015 / 11:04

2 respostas

1

Algumas ideias

  • Use o RPCPing para garantir que as portas RPC estejam abertas
  • Desativar temporariamente o firewall
  • Experimente o PSEXEC da Sysinternals. Ths comando para tentar é: \PSEXEC 192.168.72.133 -c -d -f -u admin -p admin "c:\temp\test.bat"
por 21.07.2015 / 11:15
0

Problema resolvido. Descobriu-se que o firewall não foi desativado. Resolvido adicionando regra à porta 512 que está executando o aplicativo de serviço.

    
por 22.07.2015 / 17:03