Tomcat 7 listening on IPv6 but not on IP4!!
I have Ubuntu 14.04 with tomcat 7 installed, but as the title says, I couldn't make it to listen on IP4. SSH and Postgresql are listening on both IP4 and IP6 and every thing else looks fine. this looks like Java issues, so how can I make it listen on both?
Here is the content of /etc/network/interfaces:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp iface eth0 inet6 auto
I use oracle java version "1.7.0_65", and it was working (on IP4 as well) before I installed GeoServer (war file) on tomcat7.
PS: i have no firewall installed and i don't want to disable IPv6.
I appreciate if any one can help me here!