且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从ASP.NET应用程序中运行控制台应用程序?

更新时间:2022-02-16 22:20:30

我的第一个猜测是,由于远程机器拒绝连接这可能是一个防火墙问题。如果code是同一台服务器要运行可执行文件,为什么你输入一个IP地址上运行?请尝试更改IP为 127.0.0.1 LOCALHOST ,看看你得到同样的错误。

My first guess is that it might be a firewall issue since the remote machine is refusing the connection. If the code is running on the same server as the executable you want to run, why are you entering an IP address? Try changing the IP to 127.0.0.1 or LOCALHOST and see if you get the same error.