这个职位的帮助下解决了这个问题: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