Jira application not accessible from outside of network

Saad Masood July 20, 2017

Hi,

    I am trying to access my JIRA installation from a domain name.  I have tried adding:

address="helpdesk.itservicegroup.net" to the Context tag in server.xml .   After that, I restarted the Jira service and Tomcat but I can only access Jira locally on the server by typing http://helpdesk.itservicegroup.net:8080"  .  From outside of the server, I cannot access it.  I have also tried by adding an alias to the localhost Host.

<Alias>helpdesk.itservicegroup.net</Alias>

After adding the alias I can access Jira on the local server by typing either http://localhost:8080 or http://helpdesk.itservicegroup.net:8080 but not from outside the server.

I installed Fiddler and see that the request is not making its way to the server.  It does not show up when I try to access helpdesk.itservice.group.net:8080 from my home machine.

I tried to add this to server.xml.

<Host name="helpdesk.itservicegroup.net" appBase="webapps" unpackWARs="true" autoDeploy="true">
      <Alias>helpdesk.itservicegroup.net</Alias>
      <Context path="" docBase="${catalina.home}/atlassian-jira" debug="0" privileged="true" />
      <Valve className="org.apache.catalina.valves.AccessLogValve"
             directory="logs"   prefix="localhost_access_log." suffix=".txt"
             pattern="%h %l %u %t %r %s %b" resolveHosts="false" />
</Host>

but then I get this message if I try to access it from the server machine itself in a browser.

[Fiddler] The connection to 'helpdesk.itservicegroup.net' failed.
Error: ConnectionRefused (0x274d).
System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it 68.193.144.220:8080

 

Saad

 

 

 

Saad

1 answer

0 votes
Steven F Behnke
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.
July 20, 2017

Port 8080 not open on helpdesk.itservicegroup.net. Revert your changes to server.xml and open port 8080.

Saad Masood July 21, 2017

Please look at the above firewall configuration.  There is a port forwarding rule defined to forward all traffic on port 8080.

 

Saad

 

 

 

Steven F Behnke
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.
July 21, 2017

I can't access that image. I'm just telling you what I see. I can't telnet to port 8080 on that server, it's not open.

Suggest an answer

Log in or Sign up to answer