Question

I just deployed a web application on JBOSS 4.2. It can be accessed locally only (http://localhost:8080/myApp). I cant access it from remote computer by typing its domain: (www.hostname.com:8080/myApp). I added Port 8080 as Exception in Windows Firewall. Note that the host (www.hostname.com) is reachable from remote computers via IIS on port 80.

Thanks, Rod

Was it helpful?

Solution

JBoss listens on localhost only by default. To make it listen on the hostname also, start it with the -b flag:

run.bat -b 0.0.0.0 

this will make it listen on every available address on that machine. To limit to a single address, replace 0.0.0.0 with your IP address.

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