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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,074
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events