PDA

View Full Version : Shoutcast in Cloud-.pls contains a dynamic ip


TarunMathew
2nd September 2011, 05:58
Hi Friends,

I am running the latest linux Shoutcast server and source on an amazon cloud instance. Everything is working fine except a major problem. I can succesfully download the playlist from the listen tab on the the static IP:8000 panel , but the playlist file is not playing the stream from the server. When I opened the .pls file in notepad I found that the metadata contains the dynamic IP of the server and not the Static IP (No wonder the client cant connect to the server)
What can I do to make the downloaded .pls file to contain the static IP of the server. I have tried to run the source from a local winamp , but I am facing the exact same problem. This makes me believe that the problem is with the server configuration.
I also run a legacy server on another cloud instance with a local winamp source. This doesnt have any problem and the .pls list shows the server's static IP.
I am really confused. Has anyone faced a similar problem with running shoutcast on ec2 instances. Please HELP!!

DrO
2nd September 2011, 08:38
you'd need to speciify destip in the config file to be the ip address you want clients to connect on - the DNAS is meant to try to work out the correct IP but certain virtualised / hosted solutions will cause that to breakdown.

the only thing with changing the destip value is that if you've got it set to be public then it's likely the DNAS will get YP cannot see your computer errors. this is something that will be fixed as part of the next DNAS release (which is running a bit behind now due to the recent site issues).

-daz

TarunMathew
2nd September 2011, 13:24
I have added a destip to the sc_serv_basic.conf file -> myserverstaticIP:8001. Then I changed the portbase in the server and source to 8001 also. Now everything is working fine. Thanks a load.