這個職位的幫助下解決了這個問題:JBoss WildFly: Starts but can't connect?
我幾乎有,但不得不改變獨立.xml以@Michel建議的方式監聽所有端口。以下是我的standalone.xml。再次感謝大家的幫助。
早些時候獨立的條目:
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:0.0.0.0}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:0.0.0.0}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:0.0.0.1}"/>
</interface>
</interfaces>
改變上述這樣的:
<interfaces>
<interface name="management">
<!-- Use the IPv4 wildcard address -->
<any-address/>
</interface>
<interface name="public">
<!-- Use the IPv4 wildcard address -->
<any-address/>
</interface>
<interface name="unsecure">
<!-- Use the IPv4 wildcard address -->
<any-address/>
</interface>
</interfaces>
你檢查Windows防火牆?您使用哪個地址進行遠程連接?公共DNS名稱? –
我已經通過EC2實例上的Windows防火牆允許端口8080上的所有入站流量。我正在使用下面的地址:xxx.us-west-2.compute.amazonaws.com:8080連接 – tanmayub