Unable to access JIRA from any other machine's broswer

Karthik Bhat December 2, 2012

I installed JIRA on a linux machine and it was working fine untill the machine went down for some unknown reason. After restarting the machine, running start-jira.sh from jira installation directory(/opt/atlassian/jira/bin) is not opening the UI in any other machine's browser except for the one in linux machine where it is installed.

What could be the problem here? Looks like a permission issue. I tried calling start-jira.sh as both root user as well as 'jira' user. But the result is the same. I am not receiving any error when I call start-jira.sh either. The JIRA_HOME directory is /var/atlassian/application-data/jira. I have also tried to call start-jira.sh from this directory. But the issue stated above isn't resolved.

4 answers

1 accepted

1 vote
Answer accepted
Sameera Shaakunthala [inactive]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2012

Which linux is it? Ubuntu/ Fedora? Check the firewall to see whether it is enabled.

Also, from the remote computer run the following command to see whether it can listen to your JIRA machine's port 8080.

# telnet xxx.xxx.xxx.xxx 8080

(Replace xxx.xxx.xxx.xxx with your JIRA machine's IP)

Also, try a ping.

  • If ping fails, then firewall/ network issues.
  • If ping passes and telnet fails, then firewall issues.
  • If both pass and still you are unable to access from the web browser, set browser proxy to none (direct connection) and see.
Karthik Bhat December 2, 2012

Telnet to port 8080 did not work. So I disabled the firewall in linux machine and now I am able to access JIRA again. Thanks Sameera!

Commands used: #service iptables stop and #chkconfig iptables off

Docs @ December 22, 2015

Saved my day!! Thanks a lot.

1 vote
Ramakrishnan Srinivasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2019

This link has a section on firewall which worked for me directly

https://z3nsamlearn.zendesk.com/hc/en-us/articles/218748027-Installing-JIRA-7-x-on-Centos-7

 

in case link goes away, the commands below

# firewall-cmd --permanent --zone=public --add-port=8080/tcp
# firewall-cmd --reload

 If you’re using AWS, you may also need to open this on your instance.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2012

If it opens on the local machine, then it's running ok.

This is going to be a firewall issue - something else is blocking remote access to the machine. Try addressing it by IP address first, if that works, it's a DNS problem. Otherwise it's going to be a firewall, probably on the Jira server, blocking remote access.

0 votes
Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2012

Have you checked the logs? Any errors? Is it starting up correctly according to the logs? Is JIRA locked?

Since it's Linux I'd check iptables configuration to see if any of the ports are blocked as well.

Karthik Bhat December 2, 2012

[root@ect-jira /var/atlassian/application-data/jira]# /opt/atlassian/jira/bin/start-jira.sh To run JIRA in the foreground, start the server with start-jira.sh -fg executing using dedicated user: jira ..... .... .NMMMD. ... .8MMM. $MMN,..~MMMO. .?MMM. .MMM?. OMMMMZ. .,NMMMN~ .IMMMMMM. .NMMMN. .MMMMMN, ,MMMMMM$..3MD..ZMMMMMM. =NMMMMMM,. .,MMMMMMD. .MMMMMMMM8MMMMMMM, .ONMMMMMMMMMMZ. ,NMMMMMMM8. .:,.$MMMMMMM .IMMMM..NMMMMMD. .8MMMMM: :NMMMMN. .MMMMMM. .MMMMM~. .MMMMMN .MMMMM?. Atlassian JIRA Version : 5.2 Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Using JIRA_HOME: /var/atlassian/application-data/jira Server startup logs are located in /opt/atlassian/jira/logs/catalina.out Using CATALINA_BASE: /opt/atlassian/jira Using CATALINA_HOME: /opt/atlassian/jira Using CATALINA_TMPDIR: /opt/atlassian/jira/temp Using JRE_HOME: /opt/atlassian/jira/jre/ Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid [root@ect-jira /var/atlassian/application-data/jira]#

This is what I get when I run start-jira.sh. Yes the jira was locked initially but I have deleted the lock file from jira home directory now. But still I am not able to access it from any other machine's browser.

I also checked if port 8080 is blocked. It is not.

[root@ect-jira /var/atlassian/application-data/jira]# netstat -nlp | grep 8080

tcp        0      0 :::8080                     :::*                        LISTEN      16926/java
Karthik Bhat December 2, 2012

Checked /opt/atlassian/jira/logs/catalina.out and found no errors.

******************************************************************************

JIRA 5.2 build: 812 started. You can now access JIRA through your web browser.

******************************************************************************

Suggest an answer

Log in or Sign up to answer