You will need to edit C:\Program Files\Atlassian\Confluence\conf\server.xml (on Windows)
Change the Connector line to include an 'address="127.0.0.1"' attribute (replace the IP with the IP you want Tomcat to bind on) and restart the service.
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" address="127.0.0.1" minProcessors="5"
enableLookups="false" redirectPort="443" acceptCount="10" debug="0" connectionTimeout="20000"
This applies to Windows, but the process should be similar on other systems, however the location of the configureation file will change.
Er, no, first of all, that change is for Tomcat, not Confluence. Secondly, you should not bind Tomcats to localhost like that anyway. Third, the question is about changing the IP address of the server, and running it on localhost means you won't be able to reach it from the outside at all. Seriously, no, this is wrong.
Binding to localhost was clearly an example, reading a parenthetical must be incredibly difficult. Of course it's for Tomcat, but for many people who don't spend their day managing Tomcat instances, Confluence and Tomcat are one in the same, as they're likely not aware Tomcat exists, it's just confluence to them. And CLEARLY the asker was looking for this solution, I only added an inline answer in case the eHow link goes away or changes. So not only are incapable of reading a parenthetical, you also don't seem able to read the selected answer. Congrats, I'm awarding you an Idiot of The Week badge. Stop being an ass.
Yes, and it's a terrible example, you should have used almost any other address as the example. It's also worth being very clear that Tomcat and Confluence are NOT the same application - if someone is messing around at this level, they REALLY need to understand that. And throwing insults around when someone gently points out that you are wrong is not going to make you any friends.
That's up to your network and server administrators. Nothing to do with confluence.
Although, if you're using the plain IP address as the base url, then you will need to change that in the general configuration, AFTER you've changed the network settings, and seriously, use DNS instead.
I attended Atlassian Summit 2019 and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...
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