简体   繁体   English

想要在远程计算机上运行应用程序,该计算机是不同网络的一部分

[英]Want to run the application on remote machine, which is part of different network

In my application , I have to kick off the job on remote machine 在我的应用程序中,我必须在远程计算机上开始这项工作
I used PeExec Tool to perform the Task. 我使用PeExec工具执行任务。 Its working fine and able to kick off the job remotely. 它的工作正常,能够远程启动工作。

About PsExec Tool refer :http://ss64.com/nt/psexec.html 关于PsExec工具,请参考:http://ss64.com/nt/psexec.html

Here both the machine connected through network. 这里两台机器都是通过网络连接的。

Command : PsExec.exe \\\\MachineIP -u qa -p qa -h -i "c:\\AutomationTool.exe" 命令: PsExec.exe \\\\MachineIP -u qa -p qa -h -i "c:\\AutomationTool.exe"

But now i want to kick off the job in the machine, Which is not part of the network. 但是现在我想开始在不属于网络一部分的机器上工作。
I used same PsExec but it's throwing error as 我使用了相同的PsExec,但是它抛出了错误

PsExec v1.98 - Execute processes remotely\\r\\nCopyright (C) 2001-2010 Mark Russinovich\\r\\nSysinternals - www.sysinternals.com\\r\\n\\r\\nThe handle is invalid.\\r\\nConnecting to 10.90.206.177...\\r\\r\\rCouldn't access 10.90.206.177:\\r\\nConnecting to 10.90.206.177.. PsExec v1.98-远程执行进程\\ r \\ nCopyright(C)2001-2010 Mark Russinovich \\ r \\ nSysinternals-www.sysinternals.com \\ r \\ n \\ r \\ n句柄无效。\\ r \\ n连接到10.90.206.177 ... \\ r \\ r \\ r无法访问10.90.206.177:\\r\\n正在连接到10.90.206.177。

Please help me to understand whether PsExec Tool will support to execute job in different networks, 请帮助我了解PsExec工具是否支持在不同网络中执行作业,
If so pleae let me know the Configuration settings to establish networks connection. 如果是这样,请让我知道用于建立网络连接的配置设置。

I don't think what you're trying to achieve is possible, as PSEXEC is a Network tool and allows you to access remote machines across a network. 我认为您要实现的目标是不可能的,因为PSEXEC是一种网络工具,可让您通过网络访问远程计算机。

Can you do any of the following :- 您可以执行以下任何一项操作:

1.) Do you have permission to connect the IP address? 1.)您是否有权连接IP地址?

2.) If you go to start\\run in windows, and type this address, does it allow you to browse the c: Drive? 2.)如果您要在Windows中启动\\运行,然后键入此地址,是否可以浏览c:驱动器?

3.) If you ping that Address do you receive any packets? 3.)如果您对该地址执行ping操作,您会收到任何数据包吗?

I highly doubt you can achieve any of the above steps. 我非常怀疑您可以实现上述任何步骤。

You may need to look at a different method entirely. 您可能需要完全考虑另一种方法。

Hope This Helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM