I am trying to access the Atlassian Crowd server to configure it, which is listening on port 8095. I can access it from localhost. If I disable the firewall (iptables stop), I can access from a remote machine. If I start the firewall, I cannot access anymore.
I gave the following command:
iptables -I INPUT -p tcp --dport 8095 -j ACCEPT
If I run this command from localhost:
netstat -lnt | awk '$6 == "LISTEN" && $4 ~ ".8085"
I get a line as output:
tcp 0 0 :::8095 :::*
I used the same procedure for port 8090 (Atlassian Confluence) and it worked. Am I missing anything? Thanks.
---EDIT---
Output of iptables -nvL
Chain INPUT (policy DROP 93389 packets, 16M bytes)
pkts bytes target prot opt in out source destination
447K 163M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00
470 38583 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:!0x17/0x02 state NEW
2666 160K ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
5 200 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
3 120 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
4 184 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:465
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
36 2160 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
6 312 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8090
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 432K packets, 114M bytes)
pkts bytes target prot opt in out source destination
I am using CentoOS