views:

105

answers:

2

I am running an application on my system on JBOSS server which i can run in any browser by giving link http://localhost:8080/. But i want to run the same application on another machine, how to do that.

I have tried with http://systemName:8080 and http://systemIP:8080 but didnt work. need help

+3  A: 

Start up the JBoss server with -b <hostname> or -b <ipaddress>

By default, it binds only to localhost.

skaffman
+4  A: 

On windows set the bind address by starting JBoss using: run.bat -b 0.0.0.0 to allow access from any machine. On Unix/Linux use: run.sh -b 0.0.0.0. By default JBoss only binds you web application to localhost.

In a production environment you will want to set the bind address to an actual host-name or IP address rather than 0.0.0.0.

Tendayi Mawushe