Link to home
Create AccountLog in
Avatar of link087
link087

asked on

Configure permanent firewall rule on CentOS 6.7 to allow incoming http connections on 8080 port from any address.

I am trying to install Jira 7.1.2 on CentOS 6.7. After installation, when I try to connect to running JIRA instance from web browser from another computer in the same network - I get time out.

However I know, that Jira is installed and listening. The output of netstat -nap | grep LISTEN

tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1171/sshd           
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1250/master         
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN      53689/java          
tcp        0      0 :::8080                     :::*                        LISTEN      53689/java          
tcp        0      0 :::22                       :::*                        LISTEN      1171/sshd           
tcp        0      0 ::1:25                      :::*                        LISTEN      1250/master         
unix  2      [ ACC ]     STREAM     LISTENING     12048  1250/master         private/relay
unix  2      [ ACC ]     STREAM     LISTENING     12052  1250/master         public/showq
unix  2      [ ACC ]     STREAM     LISTENING     12056  1250/master         private/error
unix  2      [ ACC ]     STREAM     LISTENING     12060  1250/master         private/retry
unix  2      [ ACC ]     STREAM     LISTENING     12064  1250/master         private/discard
unix  2      [ ACC ]     STREAM     LISTENING     12068  1250/master         private/local
unix  2      [ ACC ]     STREAM     LISTENING     12072  1250/master         private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     12076  1250/master         private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     12080  1250/master         private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     12084  1250/master         private/scache
unix  2      [ ACC ]     STREAM     LISTENING     9188   1/init              @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     12001  1250/master         public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     12008  1250/master         private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     12012  1250/master         private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     12016  1250/master         private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     12020  1250/master         private/defer
unix  2      [ ACC ]     STREAM     LISTENING     12024  1250/master         private/trace
unix  2      [ ACC ]     STREAM     LISTENING     12028  1250/master         private/verify
unix  2      [ ACC ]     STREAM     LISTENING     12032  1250/master         public/flush
unix  2      [ ACC ]     STREAM     LISTENING     12036  1250/master         private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     12040  1250/master         private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     12044  1250/master         private/smtp

Open in new window


Please help me configure permanent firewall rule on CentOS 6.7 to allow incoming http connections on 8080 port from any address.
SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of link087
link087

ASKER

Mazdajai, thanks a lot. Didn't know that such awesome tool for configuring firewall exists.
Note, using iptables dynamically applies the rule as soon as added, but is not permanent until committed using the options outlined.