Gramero
Gramero

Reputation: 1885

Cannot connect to tomcat externally

enter image description here

I install the tomcat server on my openSuse port 8080, but I can connect to http://127.0.0.1:8080 only in my local machine.

Upvotes: 1

Views: 2272

Answers (1)

k-deux
k-deux

Reputation: 493

do you have a linux firewall like iptables configured?

If it's iptables you can fix this with this statement

  iptables -I INPUT -p tcp --dport 8080 -j ACCEPT

(You change your iptables config to accept external tcp connections, please make shure that you know what you are doing if your are editing firewall ports)

Upvotes: 3

Related Questions