How to access JIRA over Internet through a static IP?

Kelvin Zeng October 5, 2014

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

0 votes
Norman Abramovitz
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.
October 5, 2014

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.

Kelvin Zeng October 5, 2014

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

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.
October 5, 2014

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.

Norman Abramovitz
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.
October 5, 2014

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.

Norman Abramovitz
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.
October 5, 2014

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

Kelvin Zeng October 6, 2014

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?

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.
October 6, 2014

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.

Kelvin Zeng October 6, 2014

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

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.
October 6, 2014

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.

Norman Abramovitz
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.
October 6, 2014

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