Search code examples
javablueprism

How to reset the port for Java.exe process


I am currently setting BluePrism resourcepc service in my VM and it always shows the status 'Offline'. After the deep analysis, we found that BluePrism using 8181 port which is already being used by the process java.exe.

Hence if i kill the java.exe process through task manager, issue is resolved and everything is working fine however if i restart the VM, then the java process accessing port 8181.

Can someone help me how to change the port for java process?


Solution

  • The BluePrism root folder a program called automate.exe which you can use to set all kinds of preferences for BluePrism. Try to set the port with this:

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

    So as an example:

     automate.exe /resourcepc /port 1234 /public