It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How i can change default port 8090 to 80 ?

I try change port number from 8090 to 80 in server.xml but after restart i cant connect to server (((

whats wrong ?

1 answer

1 accepted

0 votes
Answer accepted
DPK_J Community Leader Dec 07, 2019

@Igor Loginov  First of all Welcome!!!

Now coming to your question, can have look at your log files, it will surely have some errors. You can also share snippet of that here for further help.

I can send to you log files, but i cant share snippet. My server in the closed network.

How i can send logs ?

DPK_J Community Leader Dec 07, 2019

@Igor Loginov  I suggest you to find evidence of error in your log file, and just share those lines in comment here.

Also, make sure you don't have any other service running on port 80, and you are running your confluence using root privileges (usually port 80 require that).

Startup related logs are located at - <APPLICATION_DIRECTORY>/logs/catalina.out

Can you also recheck your server.xml and tell me where have you make changes?

Thanks a lot !!!!

I replace startup user from confluence to root and server start fine with 80 port.

Nice job !!!

NO!

Do NOT run Confluence as root, it is a massive security hole, even inside a "closed" network.

You should either use a proxy, or use the setuid to run it with limited privileges.

Like DPK_J likes this
DPK_J Community Leader Dec 08, 2019

@Igor Loginov  @Nic_Brough__Adaptavist_  is right about running confluence as ROOT user (this is true for all Atlassian application)

I suggest you use reverse proxy server for this, like NGINX or Apache HTTPD.

I move confluence server to localhost:8090 and setup nginx as frontend .

All works fine :)))

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you