[Icecast] behind a router

Joern Nettingsmeier nettings at folkwang-hochschule.de
Wed Mar 2 16:09:50 UTC 2005


renna wrote:
> i've finally managed to stream in my network with icecast and muse. in the 
> iceast.xml config file i had to specify 192.168.2.5 as my bind-address, my ip 
> in my internal network (i'm behind a router) and from other computers in this 
> network i could hear my streaming. but i would like to stream even out of my 
> network. so i redirected port 8000 of the router to my internal ip, tried to 
> give to a player http://ipoftherouter:8000/live  but this time it wouldn't 
> work. so i tried, in the icecast.xml file, to specify as bind-address the ip 
> of the router, but 
> 
> icecast at delirium icecast $ icecast -c icecast.xml
> Could not create listener socket on port 8000
> Server startup failed. Exiting
> icecast at delirium icecast $        

you can only bind to addresses of interfaces that are in the machine itself.

> and no other program is using this port:
> 
> root at delirium root # netstat -anp |grep :8000
> root at delirium root #           
> 
> what am i missing? 

iirc, you have to set the <hostname> to the name of the router to make 
it work. at least this fixed it for me a while ago. that way, your 
internal clients should also use your external name, though.


regards,

jörn




More information about the Icecast mailing list