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

Jira refusing connection when making an issue (works locally)

Cecil Carter 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

0 votes
Answer accepted
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events