Forums

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

Problem to change tcp port in server.xml

Eric
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2017

Good morning,

I've installed today JIRA on a linux server with the tcp port 8080. It works well (i can access with http://@IP:8080 on a browser.

I want to change  the tcp port to 80. I've changed the server.xml file ( <Connector port="80"), stop and restart jira with the user root (with the scripts stop-jira.sh and start-jira.sh) but when i tried to connect with http://@IP:80; i have an error on the page.

Do i miss some steps? I use this page : https://confluence.atlassian.com/adminjiraserver073/changing-jira-application-tcp-ports-861253904.html to make this actions.

Cordially.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2017

Running Jira as root is a VERY bad practice, and you should not do that.

You should reconfigure the security on the linux box to allow the Jira user to use port 80 instead, or use the security tricks Apache does to do it.  Or better, use a proxy instead.

Anyway, I suspect you are running into firewall or security issues here.  It's hard to tell what it might be from "I have an error"

Suggest an answer

Log in or Sign up to answer