remexec가 10060 오류 코드와 함께 연결에 실패함

remexec가 10060 오류 코드와 함께 연결에 실패함

내 VM에서 remexec를 통해 명령을 실행하려고 합니다.

VM에는 자체 IP 주소가 있고 핑이 울리며 공유 폴더도 IP를 통해 작동합니다.

그러나 remexec는 실패합니다.

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

어떤 아이디어가 있나요? 무엇이 잘못되었을 수 있으며 해결 방법은 무엇입니까?

핑:

>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

VM IP 구성:

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

답변1

몇 가지 아이디어

  • RPCPing을 사용하여 RPC 포트가 열려 있는지 확인
  • 일시적으로 방화벽을 비활성화합니다.
  • Sysinternals의 PSEXEC를 사용해 보세요. 시도해 볼 명령은 다음과 같습니다.\\PSEXEC 192.168.72.133 -c -d -f -u admin -p admin "c:\temp\test.bat"

답변2

문제 해결됨. 방화벽이 비활성화되지 않은 것으로 나타났습니다. 서비스 응용 프로그램을 실행하는 포트 512에 규칙을 추가하여 해결되었습니다.

관련 정보