tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas" <wilDEBe...@mithlond.net>
Subject Re: forced to constantly restart Tomcat
Date Thu, 02 Nov 2006 19:26:53 GMT
>  If you're getting a "connection refused" error, it may be that you're
> using
> the wrong local host IP address. check the sys/host file, it may have an
> entry in there that looks like this:
>
> your_user_name 127.0.1.1

desktop:/etc# cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost       desktop

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

So I think localhost IP is OK. And it shouldn't be an issue with my
firewall configuration either, which is
desktop:/etc/network# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  127.0.0.0/8          127.0.0.0/8
ACCEPT     icmp --  anywhere             anywhere            state
ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            state
ESTABLISHED
ACCEPT     udp  --  anywhere             anywhere            state
ESTABLISHED
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     icmp --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            limit: avg
3/sec burst 5 LOG level warning
DROP       all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  127.0.0.0/8          127.0.0.0/8
desktop:/etc/network#


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message