You can't bind any port <1024 in linux unless you're a priviledged user. You can either run as root (not cool), or you could run a reverse proxy to redirect traffic from 80 to somethign else (cooler).
We don't know what instructions you have followed, or what your setup is.
If it's the standalone installation, then you've got two basic options:
1. Change the port on the Tomcat to listen on port 80. You *will* need to fiddle with the security somewhat, as programs are not generally allowed to use ports below 1024 unless they are running as root.
How do you set option 2? how to set the proxy?
I tried to set in proxy.conf the following but it didn't work, any hints?
<VirtualHost 127.0.0.1:80> ServerName example.com ServerAlias www.example.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://localhost:8090/ ProxyPassReverse / http://localhost:8090/ <Location // > Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </VirtualHost>
I recommend you to use Apache with mod_proxy to better manage the ports to your Web Services:
Then you may use your Confluence Instance as follows:
http://www.example.com/confluence - your intended URL
http://example:8090 - the hostname and port Confluence is currently installed to
/confluence - the intended context path (the part after hostname and port)
Hope it helps! :)
Personally, I dont think I should install Apache since it is another component to maintain. I understand that this is not related to confluence and is only related to a linux environment. I dont know it is feasible to change the linux configuration to access ports below 1024.
Hey there! When you can pack so much information onto a Confluence page, it can be challenging to whittle down what’s most important. Here are a few of our favorite hacks for finding need-to-know i...
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