Linode Forum
https://forum.linode.com/

Citadel running along apache on port 80
https://forum.linode.com/viewtopic.php?f=11&t=11958
Page 1 of 1

Author:  christopherdengso [ Mon Jun 22, 2015 9:46 am ]
Post subject:  Citadel running along apache on port 80

Hey all,
I have a question about how to setup citadel properly together with apache2.
Everything is installed accordingly to the guides on my linode. This means both apache and citadel run on port 80. This doesn't seem to be a problem as long as apache starts first, but when rebooting it looks like citadel is blocking port 80 and then apache is unable to start. I currently solve this by stopping citadel, starting apache and then start citadel.

Does anyone know a more sustainable solution to this?

Author:  sanvila [ Mon Jun 22, 2015 11:20 am ]
Post subject:  Re: Citadel running along apache on port 80

christopherdengso wrote:
both apache and citadel run on port 80

I have never used citadel myself but one thing is sure: there is no way that running two different daemons on the same port and same IP will work. The following link may help:
http://www.citadel.org/doku.php/faq:ins ... pacheproxy

Author:  ColdSun [ Sun Jul 05, 2015 11:47 pm ]
Post subject:  Re: Citadel running along apache on port 80

As mentioned by Sanvila, it is impossible for 2 applications to be listening on the same port.

As you noticed, if Citadel starts first, the port becomes in use and Apache can't connect.
If you stop Citadel, the port becomes unused, and Apache can claim it. Restarting Citadel after does not fix the issue as you now have Apache on 80, and Citadel.. well.. not.

You can forward requests to a different port which Citadel can be listening on through Apache though

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/