By default Wildfly only binds to localhost (127.0.0.1), and is not reachable via any external network interfaces.
Running in domain mode is an advanced Wildfly topic, so I suggest you check Wildfly documentation:
A quick way to bind to all the network interfaces in standalone mode is to use -b 0.0.0.0 as a parameter to standalone.sh. But that doesn't work for domain mode AFAIK.