On 18.03.2018 14:04, Loai Abdallatif wrote:
Dear Friends

*root@appserver01:~# netstat -antp*
I have started  three tomcat instances on one debian server and I got the
following netstat output:
how I force the tomcat to bind to tcp instead of tcp6

Hi.  As far as I know, this is more of a "java thing" than a "tomcat thing".
(per "java" I mean the JVM that runs tomcat).
Search Google for "java prefer ipv4" for some answers.



tcp6       0      0 10.160.180.99:8005      :::*
LISTEN      742/java
tcp6       0      0 10.160.180.99:8105      :::*
LISTEN      804/java
tcp6       0      0 10.160.180.99:8009      :::*
LISTEN      742/java
tcp6       0      0 10.160.180.99:8109      :::*
LISTEN      804/java
tcp6       0      0 :::111                  :::*
LISTEN      416/rpcbind
tcp6       0      0 10.160.180.99:8080      :::*
LISTEN      742/java
tcp6       0      0 10.160.180.99:8081      :::*
LISTEN      804/java
tcp6       0      0 :::22                   :::*
LISTEN      496/sshd
tcp6       0      0 ::1:25                  :::*
LISTEN      709/exim4
tcp6       0      0 :::39098                :::*
LISTEN      425/rpc.statd
tcp6       0      0 10.160.180.99:4000      :::*
LISTEN      742/java
tcp6       0      0 10.160.180.99:4001      :::*
LISTEN      804/java



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to