Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira refusing connection when making an issue (works locally)

I've confirmed the ability to create a Jira ticket from my localhost.

But when I push to my AWS instance, I get "connect ECONNREFUSED 127.0.0.1:80".

My headers and setup haven't changed.

Nodejs code for reference:

 

 const { data } = await axios.post( `${process.env.BASE_URL}/rest/api/3/issue`, 
body,
{
Authorization: `Basic ${process.env.SECRET_JIRA_TOKEN}`,
"Content-Type": "application/json",
Accept: "*/*", } ); 

 

What am I missing? 

1 answer

1 accepted

0 votes
Answer accepted
Benjamin Community Leader Jan 07, 2021

Based on the given information, is your localhost blocking port 80 and just allowing 443 which is HTTPS? May want to check your internal firewall.

 

-Ben

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

111 views 1 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you