How do I set up an internet URL to access JIRA if I am hosting my own sever on a VM?

EdM February 15, 2017

I have recieved a few student licenses for my group project. I am using my own server and not the cloud.

I am currently using remote desktop to remote into a virtual machine to act as the storage server. 

I downloaded and installed JIRA Core on that virtual machine.

Everytime I add my friends as users. In the email they recieve their website link always starts with http://localhost:8080 and when they click it the page is not found.

I am trying to set up an online URL that everyone can access from their own web browsers at home i.e.

www.engineeringproject.atlassian.net 

p.s. I am very new to software/networking/servers so please use simple english. 

1 answer

0 votes
Hitendra Chauhan February 15, 2017

Change the base URL of your JIRA instance to the public ip that your vm gets from ISP

Your VM must be connected to internet. ( you may check Ethernet adaptor setting in VM ), meaning your vm must have public ip.

EdM February 15, 2017

I know my VM has internet because I used the internet to download the installer.

How do I find my IP on the VM?

Do I just copy-paste the sequence of numbers into the Base URL, or is it something like http://123.456.789

EdM February 15, 2017

image2017-2-16 21:38:17.png

I'm not sure if that idea works

Hitendra Chauhan February 15, 2017

Base URL should be like http://150.203.186.143

 

what is the output of the command ipconfig /all ( for windows ) and ifconfig ( for Linux ). With this output I can tell which ip you need to use.

But if you are using a router and don't have direct connection to the VM, then you may need to do some ip forwarding on the host in which VM is installed.

EdM February 15, 2017

image2017-2-16 21:57:47.png

Hitendra Chauhan February 16, 2017

http://150.203.186.143 should be the correct base url, provided your JIRA instance is running on port 80.


EdM February 16, 2017

hmm it seems to be slightly better but the connection times out

image2017-2-16 22:25:30.png

image2017-2-16 22:25:45.png

Hitendra Chauhan February 16, 2017

Now your VM's firewall needs to be checked. To verify it disable the firewall on the VM completely and try to access the base URL you set from the host computer.

If that works, then enable the firewall again and allow the connection to VM on port 80 in VM's firewall 

Suggest an answer

Log in or Sign up to answer