Hello, I am testing a local network with Comcast's Xfinity internet service at home. I am able to access my Wildfly 8 web server using http://127.0.0.1:8080. Then I started the sever: [abigail@localhost bin]$ ./standalone.sh -b=10.0.0.17
where 10.0.0.17 is my internal IP assigned by the Xfinity modem. And Now I can access the web server on my OWN machine using http://10.0.0.17:8080.
However, I can't access this web server from another laptop within the same network at home. The laptop (IP: 10.0.0.7) is connected wireless network.
How can I configure the Wildfly 8 to make other machine in the same local network able to access the server? I don't think it has anything to do with Xfinity modem? It's basically a question of configuring a local network issue in Wildfly.
It turns out that it's a firewall issue. I stop the firewall by:
My other computers in the network now can access it. However, computers outside of the network still can't access it. I added one entry in the "port forwarding" of Xfinity modem.
posted 4 years ago
Now I am able to access my websever from any computers in the local network by assigning the "zone" to "public", and add port:8080 to it. I did this through the GUI firewall-config, which is quite convenient.
But I still can't access the server from computers outside of the local network. Should I change the zone from "public" to "external"? Or it's not necessary?
My thought was that the zone "public" should be fine. What I need to do is to add "port forwarding" for the public zone through firewall-config. But how to fill the port range and IP, as shown in the attachment?
Also, do I also need to set "port forwarding" in my ISP comcast Xfinity modem? Are the two "port forwarding" the same thing? Thank you.