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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.