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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.