如何为 Java.exe 进程重置端口

How to reset the port for Java.exe process

我目前正在我的 VM 中设置 BluePrism resourcepc 服务,它始终显示状态 'Offline'。经过深入分析,我们发现 BluePrism 使用的 8181 端口已经被进程 java.exe.

使用

因此,如果我通过任务管理器终止 java.exe 进程,问题已解决并且一切正常,但是如果我重新启动 VM,则 java 进程访问端口 8181。

谁能帮我更改 java 进程的端口?

BluePrism 根文件夹中有一个名为 automate.exe 的程序,您可以使用它来设置 BluePrism 的各种首选项。尝试用这个设置端口:

 automate.exe /resourcepc /port "new port" /public

举个例子:

 automate.exe /resourcepc /port 1234 /public