How to access JIRA over Internet through a static IP?

I have installed the trial version of JIRA on a windows 7 machine which has a static IP address (121.79.xxx.xx).

After spending a lot of time on the documents that provided by JIRA and I am still failed to connect to JIRA over Internet.

Could you please advise the simplest way to make this happen? The base URL is set to http://localhost:8080 at the moment.

Many thanks

1 answer

This widget could not be displayed.

Have you tried http://121.79.xxx.xx:8080 ?  Do you have access to your dns to add a domain name to ip mapping?

localhost will map to 127.0.0.1 in most cases that will not work outside your local machine.

Do you mean I don't need to edit anything in the server.xml? I have made some changes on it already and yes I have tried http://121.79.xxx.xx.8080 and https://localhost:8443 (as the instruction recommended). Should I undo anything on the server.xml? I can just uninstall and reinstall the JIRA. Could you please give me a simple lesson of ip mapping and the DNS thing? many thanks for you help

With the DNS thing, you need to use a DNS server that knows you want to map "http://yourwebsite"; to "121.79.xxx.xxx". Generally, that means buying and registering the domain, and then the provider will get your site added to the global DNS servers. You could do it internally too (only on your internal network) by running a DNS server there and telling all your client machines to use it (a lot of organisations do that so they provide network names for their internal services) You don't need to mess with the server.xml or other settings unless you decide that running the system on a different URL and port is a requirement. The fact that it runs on localhost, but not 121.79.xxx.xxx suggests that you have firewalls blocking access from the outside on port 8080 Essentially, you need to do some work on your network - that's not really something we can help you with so much, as we don't know what you've got or how you've set it up.

I agree with Nic that if you cannot access using the ip address it most likely firewalls blocking you. Does the the ip address work from the local machine. It should with a warning message.

You can also update your local hosts file if you have permission to do it.

Hi Norman The IP address works fine for the local machine, it can access to the Internet fine. And I can ping it from another machine (on different network). I have permission to change the local hosts file, how should I edit it?

Should be able to just ADD a line to the bottom as below (do not touch the rest unless you know what you're doing) 121.79.xxx.xxx yourexternaldomainname It really does sound like your firewalls are blocking you though, not your routing.

Nick,does 'yourexternaldomainname' mean the computer name of the hosting machine? for example, if the machine name is Apple, the I should edit it as 121.79.xxx.xx Apple? thanks

No, it's the domain name that you own and want to connect to 121.79.xxx.xxx But all that does is mean that your computer will know that when you go to http://yourexternaldomainname, you actually mean http://121.79.xxx.xxx It's just a name instead of an address. You already know this won't work, you say you aren't connecting on 121.79.xxx.xxx - so you need to look at what on your network is stopping that. Usually, it's the firewall.

If ip address works locally and does not remotely, then Nic is correct that it is most likely a firewall issue. I was attempting to remove the name translation issue from the equation of issues.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

127 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you