GuruKulki
GuruKulki

Reputation: 26418

How to connect to remote web application running on JBOSS server?

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

Upvotes: 2

Views: 7762

Answers (2)

Tendayi Mawushe
Tendayi Mawushe

Reputation: 26118

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.

Upvotes: 6

skaffman
skaffman

Reputation: 403481

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

By default, it binds only to localhost.

Upvotes: 5

Related Questions