java.net.BindException when trying to run Jboss on remote system connecting it using RDC

StackOverflow https://stackoverflow.com/questions/18983532

  •  29-06-2022
  •  | 
  •  

Question

I am trying to run JBoss(5.1) on remote system connecting it using RDC. Which ever port I try, it's says already in use and throwing java.net.BindException Cannot assign requested address: JVM_Bind

I have tried to change the port using jboss service binding configuration located at below path:

jboss\server\Server_Instance\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml

I have tried various options like ports-01, ports-02 ,ports-03 and then customizing the default port configurations as well with No luck.

I am just wondering how it is possible that it's not allowing any port whichever I try. One thing I would like to let you know here is that the remote system has 3 different logins and all of the users are using the system.

Appreciated if you can provide me any assistance please.

Was it helpful?

Solution

You can pass the -b ${IPofMachine} to bind to an IP. This will also make it externally accessible. You can do 0.0.0.0 which will bind to all available IP's

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top