The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira refusing connection when making an issue (works locally)

Deleted user
January 7, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Benjamin
Community Champion
January 7, 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

TAGS
AUG Leaders

Atlassian Community Events