I'm having trouble accessing my web application, deployed on Tomcat, from another computer on my network. I can access the application through localhost
, but can't do it from another PC on same LAN.
I have already stopped both iptables
and selinux
. I tried modifying setenv.sh
to set JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true"
just in case IPv6 was the problem, but none of these methods have solved my problem.
Why can't I access my web application remotely?