
JBoss EAP 6 で実行されている Java アプリケーションがあり、次のような URL を使用して Chrome 上のモバイル アプリから「アクセス」できます。...127.0.0.1:8280/myAwesomeJavaApp/coolService
そのため、アプリをパッケージ化するときに、次のような URL を使用します。
192.168.1.64:8280/myAwesomeJavaApp/coolService //this is not working
192.168.1.64 // this gets me to my localhost
(WiFiに接続済み (テスト目的))
ローカルホスト内の他のすべての Apache Web アプリにアクセスできますが、JBoss EAP 6 サービスを利用できません。
何が足りないのでしょうか?
答え1
-b 0.0.0.0 で Jboss サーバーを起動します。
./standalone.sh -b.0.0.0.0 //this binds server to all network interfaces