I'm running Icecast 2.2.0 on RedHat Fedora core 2. It's working fine if I use the default port of 8000. I need to use port 80 because of client firewall issues. However when I try to reconfigure icecast.xml to port 80, I get "cannot create listener socket on port 80". I'm guessing it's some permissions issue in Fedora, but I'll be darned if I can find it! Any suggestions? I tried looking in both the Icecast and RedHat documentation, but no luck. Bob Reite Telecentral Electronics, Inc.
Hi: Two thoughts. 1. You need to run as root to be able to use ports < 1024. This could well be your problem. 2. Make sure there's nothing else (like a webserver) runing on port 80. Geoff. -- Geoff Shang <geoff@hitsandpieces.net> Phone: +61-418-96-5590 MSN: geoff@acbradio.org Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
On Wed, 29 Dec 2004 01:04:39 -0500, Bob Reite <bobr2@telcen.com> wrote:> I'm running Icecast 2.2.0 on RedHat Fedora core 2. It's working fine if > I use the default port of 8000. I need to use port 80 because of > client firewall issues. However when I try to reconfigure icecast.xml > to port 80, I get "cannot create listener socket on port 80".Unix systems don't allow non-root users to bind to ports less than 1024. So, you need to be root to do this. When you try this, you'll then find that icecast refuses to run as root (in an attempt to prevent any possible icecast security holes from being _too_ serious). So, you'll have to configure the <changeowner> section (inside <security>) in your icecast configuration file. This tells icecast to change to a different user (whichever one you choose) after it binds listening sockets, but before it starts accepting connections from the network. Mike