Hello,
I'm trying to add a second connector for Jira to have a dedicated port for API calls.
Looks like a user was able to achieve this here:
https://community.atlassian.com/t5/Jira-questions/Using-two-connectors-for-JIRA/qaq-p/738054
I followed the setup as described.
I've added a second connector in the server.xml. My Context path is blank.
<!-- main -->
<Connector acceptCount="100" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8060" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" proxyName="myjira.local" proxyPort="443" scheme="https"/>
<!-- for API -->
<Connector acceptCount="100" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8061" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" />
I restarted Jira and https://myjira.local still works but get a Connection refused error when attempting to send request to myjira.local:8061
Do I need to update additional settings?
Hi @Sean Kim
Is there a reason you do not specify the reverse proxy parameters in the 2nd connector? (proxyName, proxyPort, scheme)
If your API calls will go through the reverse proxy you should specify those too. But of course you'll need to confiugre the reverse proxy to use port 8061 and use another proxyName.
With the current setup you should be able to reach http://localhost:8061 from the machine Jira is running on. Note: this is without https.
Does that work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
glad I could help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.