@Mai-Vu-Tan considering that you have success to access it locally, this means that probably you have a firewall blocking requests to port 19999 that comes from outside the machine. You can confirm this running the command iptables -L
and iptables -L -t nat
. If you see something different of :
bash-5.0# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
bash-5.0# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
you will need to configure your firewall to allow connections for port 19999.