Blog post

Tip of the Week: Make localhost Available on the Internet

Home    —    Blog    —    Tip of the Week: Make localhost Available on the Internet
Aleks Zuevich
Posted by Aleks Zuevich
October 14, 2016

Quite frequently developers face the necessity of demonstrating their web-application to their colleagues. During the development process, we often use a local server to demonstrate some intermediary results which is often a tricky thing to do.

 JIRA Cloud Instance - localhost

Things get even tougher when you need to check how your app works with the third party service. For instance, you might need to install your locally running add-on into your Atlassian Cloud development environment. In order to get an add-on that is running on your personal computer (locally) installed in an Atlassian Cloud instance, you need to make it available on the internet, served over an HTTPS connection. JIRA Cloud Instance opens a pre-defined url for specific action with an add-on. To make it work the right way, we need to set a baseUrl in the add-on descriptor which can be invoked by JIRA Cloud Instance. If you set http://localhost or http://127.0.0.1, it becomes obvious that it won’t work as the context of JIRA Instance localhost – it is the same.

To provide your JIRA Cloud Instance with your locally running add-on access, there are many tools you could use, but Atlassian recommends ngrok. ngrok is a simple and free command line tool to tunnel your local development environment to the internet. That is why we highly recommend this tool in such cases.

Other services by Polontech

Services

Atlassian migration

To Server. To Cloud. To Data Center. Server to Server. Cloud to Cloud. To Atlassian.
go to page
Services

Atlassian configuration

Jira Software. Confluence. Jira Service Desk. Atlassian addons. Custom scripting.
go to page
Services

Training

Fast start. Agile. ITSM. Atlassian.
go to page
Services

Support

Technical support 24/7. Health check. Upgrade. Data protection. Managed Services.
go to page
Services

Installation

Choosing Atlassian products. Atlassian product at your service. Installing Atlassian in the cloud or server...
go to page
Services

Consulting

Audit. Jira Add-ons. Agile. ITIL/ITSM. User management. Team collaboration. Asset management...
go to page
Services

Hosting

Migration to Atlassian Cloud. Private cloud. Public cloud.
go to page
Services

Portfolio management

Audit. Design. Launch. Support.
go to page
Services

Licensing

Buying. Renewal. Managed licenses.
go to page
Services

CI/CD + DevOps

DevOps strategy. Commit. Build. Test. Deploy.
go to page

Use form to contact us