Am 30.11.2015 um 12:12 schrieb Mark Thomas:
On 30/11/2015 10:51, Christoph P.U. Kukulies wrote:
I installed tomcat7 (apt-get) on an Ubuntu 14.04.3 LTS machine and found
it being installed as listening
to

tcp6      0        0     :::8080         :::*                 LISTEN

How can I turn that to

tcp        0      0 0.0.0.0:8080            0.0.0.0:* LISTEN


Do I have to disable ipv6 in Ubuntu first or can I switch that by
tweaking some config file or so?
Try setting the address attribute of the connector to "0.0.0.0"

Mark

You mean in server.xml: in the <Connector />  section address="0.0.0.0" ?
Doesn't seem to work.

I finally got rid of it by adding the lines

|net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 to /etc/sysctl.conf and rebooted Ubuntu. |


--
Christoph



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

Reply via email to