Web interface on port 80?

Read 5583 times
Ok, I've tried searching the forum, but honestly the search function on this forum is less than desireable....

Anyhow, I have CC installed on my server along with about 3 other websites. I am using Apache with virtual hosts.

Is there any way to get CC web interface to listen on port 80?

The only thing I've seen in my searches is the port 80 proxy for listening on port 80, but I cannot find a way to switch the web interface to port 80.

Is it possible to get CC and Apache to both get along on port 80? Or, is that just wishful thinking?
Hello trumpetradio,

You can make Centova Cast listen on port 80, that is not an issue, however you cannot have two programs use the same port on the same IP address. This is a fundamental limitation of the Internet protocol's (IP) transport layer.

In other words, you would need two separate public IP addresses, one for Apache and one of Centova Cast's web service.

Once you have a free public IP address for Centova Cast alone, then you can simply add the following line to "/usr/local/centovacast/etc/cc-panel.conf"

listen                                  80

Then restart Centova Cast (/usr/local/centovacast/centovacast restart).


Regards.
Thank you!

I've been looking all over for that config file.....seems like every article/post I've seen gave a different location/conf file and none of them worked.

I opened the conf file and this one actually exists on my server. So, that part I can do. Also, it seems to allow to specify the IP as well?

A little more help, if you don't mind.

So, I have Apache installed, and I have 2 IPs for the server. Do you know how to go about binding Apache to one and CC to the other?

I see some stuff online about it, but I've not been able to figure out exactly how to do it.  I've tried this web page http://httpd.apache.org/docs/current/vhosts/examples.html
But, while I see the code I need, I can't figure out where to put that code. I assume there is a conf file somewhere, but where?

Yes, the "listen" variable does allow you to specify the IP address you want Centova Cast to listen on (as per the comments in the configuration file).

There should be a similar variable within the Apache configuration file, unfortunately the location of Apache's configuration file varies depending on your specific setup, you may want to refer to the corresponding Linux distribution documentation (if you've installed using the system's own package manager) or software vendor/author, if you are using some sort of web hosting administration suit.


Regards.
What are you using that requires Apache to listen on port 80?

What server software are you using?

If you're using Ubuntu server you can go to /etc/apache2/ports.conf and change the port to something like 82 or 8082

so: nano /etc/apache2/ports.conf - then save

you will also need to change port in /etc/apache2/sites-enabled/000-default.conf

so nano /etc/apache2/sites-enabled/000-default.conf

and then restart apache

In CentOS

/etc/httpd/conf/httpd.conf

If you don't have nano (my preferred editor in SSH)

apt install nano

Cheers...