>
Advertise on Talk Webcasting .com. Packages from only $5 a month!
Pages: [1]   Go Down
  Print  
Author Topic: How to set up the SHOUTcast Server.  (Read 38375 times)
0 Members and 1 Guest are viewing this topic.
Thomas
Administrator
Webcasting Master
*****

Rep: +28/-3
Offline Offline

Posts: 2,804



WWW
« on: December 24, 2005, 08:02:09 PM »

This tutorial will teach you how to set up the SHOUTcast server.  If you want to start your own shoutcast radio or tv station on your own computer this is the first thing you should read!

First you need to download the files for the server.  Go to this page:

http://www.shoutcast.com/download/serve.phtml#scdownload

Click:  [PROCEED TO LICENSE AGREEMENT TO DOWNLOAD SHOUTCAST DNAS]

Then agree to those terms (Proceed to Downloading)

This tutorial presumes you run on XP or similar.  Click on the download button by: SHOUTcast WIN32 Console/GUI server v1.9.5.

Install all 3 files.



Open up the directory where you installed the files.



The default directory is C:\Program Files\SHOUTcast

You now need to open the configuration file, sc_serv.ini

Sometimes all the data gets bunched up.  If you download the file below and paste the data over the one you've downloaded it'll have line breaks (only do this if your current one doesn't have breaks).


http://www.talkshoutcast.com/images/scserver/sc_serv.ini


There are a few bits which you'll need to edit.  The first the max listeners.  10 is default but it can be anything.  As you're running this on your home connection you need to work out what bandwidth you will be streaming at and how many listeners you can support.  If you have a 128k/bit upstream then you could run one listener on a 128k/bit stream, 2 on 64k/bit, 4 on 32k/bit, etc.  Do not make this number bigger than you can support on your appropraite stream type, or you can be banned from the shoutcast directory.
Quote
; MaxUser.  The maximum number of simultaneous listeners allowed.
; Compute a reasonable value for your available upstream bandwidth (i.e. if
; you have 256kbps upload DSL, and want to broadcast at 24kbps, you would
; choose 256kbps/24kbps=10 maximum listeners.)  Setting this value higher
; only wastes RAM and screws up your broadcast when more people connect
; than you can support.
MaxUser=10

You now need to change the password for the stream.  It's currently changeme.

Quote
; Password.  While SHOUTcast never asks a listener for a password, a
; password is required to broadcast through the server, and to perform
; administration via the web interface to this server.  This server should
; consist of only letters and numbers, and is the same server your broadcaster
; will need to enter in the SHOUTcast Source Plug-in for Winamp.  THIS VALUE
; CANNOT BE BLANK.
Password=changeme

You now need to pick the port you will run on.  The default is 8000 but feel free to change it.

Quote
; PortBase. This is the IP port number your server will run on.  The
; value, and the value + 1 must be available.  If you get a fatal error when
; the DNAS is setting up a socket on startup, make sure nothing else on the
; machine is running on the same port (telnet localhost portnumber -- if you
; get connection refused then you're clear to use that port).  Ports < 1024
; may require root privledges on *nix machines.  The default port is 8000.
PortBase=8000

You now want to change the password you use to login to the admin section.

Quote
; AdminPassword.  This password (if specified) changes the
; behavior of Password to be a broadcast-only password, and
; limits HTTP administration tasks to the password specified
; here.  The broadcaster, with the password above, can still
; log in and view connected users, but only the AdminPassword
; will grant the right to kick, ban, and specify reserve hosts.
; The default is undefined (Password allows control for both
; source and admin)
; AdminPassword=adminchangeme


only change the bit saying changeme.  The bit that says admin is the user name.

You now want to change the name of your stream.

Quote
; TitleFormat specifies a format string for what title is sent to the listener.
; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even
; when the source changes the title. You can use up to one '%s' in the string
; which lets you contain the title from the source. For example, if your
; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is
; 'Billy plays the blues', then the net title is
; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers.
; The default is no format string.
; TitleFormat= Radio name here: %s

Change it to what ever you want to call it.

If your ISP give you a proxy you'll want to edit this setting.  It's probably best to try it without first.
Quote
; Yport, port to connect to yp.shoutcast.com on. For people behind caching
; webproxies, change this to the alternate port (666 is what it might be,
; check www.shoutcast.com if you have problems). Otherwise, leave this at 80.
; We're actively working on re-opening port 666, but as of release the only
; working port is port 80.
Yport=80

Change the port number 80 to 666 if you run on a proxy.  This means you can be listed on the shoutcast list.

As you can see there are a lot more settings.  I'm not going to go into what they do in this but i'd recommend having a fiddle when you've gotten it working with these settings.

You now need to allow shoutcast to run in your firewall.  Go to your computer's control panel and click exceptions and then add shoutcast.



If you have a router you will need to login to it and allow port fowarding on the port you have chosen, most likely 8000.

Now open up sc_serv.exe.  It should open up and look like this:



To check everything is working open up a browser and put in your IP address then port in like this:

IP:port

Working example:

123.123.123.123:8000

I'd recommend you ask a friend to check if it loads up to make sure it works.  Now you have the server running you can stream to it.  I will add some tutorials for streaming audio and video to it at another time.

It should look like this:




If you found this tutorial useful PLEASE register at our forums to give back to the community!  Also, if you have any problems with this tutorial you can create a thread and someone will be able to help you out....if not now, then in the future!
« Last Edit: February 15, 2006, 02:29:24 PM by Thomas » Logged
LIMAINFINITA RADIO
Member
*

Rep: +0/-0
Offline Offline

Posts: 26


WWW
« Reply #1 on: January 04, 2006, 06:36:11 AM »

hi
I did all but i have this error:
opening source socket
<01/03/06@21:28:24> [main] source thread starting
<01/03/06@21:28:24> [main] opening client socket
<01/03/06@21:28:24> [main] Client Stream thread
  • starting
<01/03/06@21:28:24> [main] client main thread starting
<01/03/06@21:28:24> [source] listening for connection on port 8001
<01/03/06@21:28:26> [source] connected from 127.0.0.1
<01/03/06@21:28:27> [source] icy-name:Limainfinita radio ; icy-genre:pop
<01/03/06@21:28:27> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://www.shoutcast.com
<01/03/06@21:28:27> [source] icy-irc:#shoutcast ; icy-icq:0 ; icy-aim:N/A
<01/03/06@21:28:28> [yp_add] yp.shoutcast.com gave error (nak)
<01/03/06@21:28:28> [yp_add] yp.shoutcast.com gave extended error (Cannot see your station/computer (IP: 201.230.10.52:8000) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache (Connection refused).)

I have a zyxel router, and have xp home, i have dinamic IP
and my adsl provider is telefonica del peru

I have looked 2 days and i saw a lot of people with same problem.

Thanks for ur help
Logged

RADIO LIMA INFINITA
www.limainfinita.com
Thomas
Administrator
Webcasting Master
*****

Rep: +28/-3
Offline Offline

Posts: 2,804



WWW
« Reply #2 on: January 05, 2006, 11:33:58 PM »

Have you unblocked shoutcast on your firewall and fowarded the ports in your router?  If not do that Smiley
Logged
kfbhost
Newbie
*

Rep: +0/-0
Offline Offline

Posts: 2


« Reply #3 on: June 21, 2008, 12:59:01 AM »

Nice post it really helped me
Logged
Silence07617
Newbie
*

Rep: +0/-0
Offline Offline

Posts: 2


« Reply #4 on: September 22, 2008, 12:23:11 PM »

hi thomas, i have already done all those step. port forwarding disable the firewall and all that stuff. but i'm still getting this message.

<09/22/08@00:11:55> [source] icy-pub:1 ; icy-br:128 ; icy-url:http://68.8.131.1:8000
<09/22/08@00:11:55> [source] icy-irc:#audiorealm ; icy-icq:NA ; icy-aim:NA
<09/22/08@00:15:18> [yp_add] yp.shoutcast.com gave error (nak)
<09/22/08@00:15:18> [yp_add] yp.shoutcast.com gave extended error (Cannot see your station/computer (IP: 68.8.131.1:8000) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache (Connection timed out).)


if i type down the router ip then it work but if i type down my personal ip then it doesn't. i use to have a toshiba cable modem and everything works fine. but i change it to motorola and for some reason my computer getting the DNS from the router which i called Linksys and they told me instead of letting my computer obtain the DNS automatically. use Specific DNS and gave me some numbers which got my internet working. but now for some reason i can't get my shoutcast to work and i don't know why. if i type down http://192.168.1.101:800 then it'll work but if i type down http://68.8.131.1:8000 then i get that error....

i don't know what's the problem... port is open (8000) firewall is turned off. so please help me. thank you very much.
Logged
TheBIG429
Webcasting Hero
*****

Rep: +13/-0
Offline Offline

Posts: 543



WWW
« Reply #5 on: September 23, 2008, 04:47:36 AM »

try opening port 8001 also.
Logged

Cadillac Radio
Classic Rock from the 60s to the 90s

Listen here with WMP ITunes Realplayer Winamp
Silence07617
Newbie
*

Rep: +0/-0
Offline Offline

Posts: 2


« Reply #6 on: September 23, 2008, 10:59:42 PM »

hi TheBIG429, thank you for replying and i also open port 8001. still not working. but when i type down my http://68.8.131.1:8000

but when i type down http://192.168.1.104:8000 it works....
Logged
Thomas
Administrator
Webcasting Master
*****

Rep: +28/-3
Offline Offline

Posts: 2,804



WWW
« Reply #7 on: September 24, 2008, 12:34:19 AM »

hi TheBIG429, thank you for replying and i also open port 8001. still not working. but when i type down my http://68.8.131.1:8000

but when i type down http://192.168.1.104:8000 it works....

The second is an internal IP so it's probably the router blocking it.  Are you sure you've unblocked it on your firewall and fowarded the ports?
Logged
DaveCarter
Webcasting Lover
***

Rep: +7/-0
Offline Offline

Posts: 130


WWW
« Reply #8 on: September 24, 2008, 02:57:56 AM »

Just a side note.

If you try to access anything on your PC via your own WAN IP address, it will not work..

For example, you will be able to access it at say 192.168.1.1:8000, but if YOU tried to access it via your internet IP, 123.123.123.123, you wouldnt be able to, even though others could.

Once you've setup port forwarding in your router, make sure you save the settings and reboot your router... Routers usually need a reboot to start up the port forwarding.

Dave
Logged

Did I help you? Don't forget to + Rep me Tongue
Sign up for the Internet Radio Awards today, FREE, and you could win over £600's worth of prizes!
http://www.internetradioawards.co.uk
PRI
Webcasting Guru
****

Rep: +2/-0
Offline Offline

Posts: 323


WWW
« Reply #9 on: January 21, 2009, 10:38:56 PM »

Don't forget to pass the ports in your router.
Logged
nsvlover
Jr. Webcaster
**

Rep: +1/-0
Offline Offline

Posts: 88



« Reply #10 on: January 26, 2009, 12:05:30 AM »

Just thought I'd say I've repped a few of you for helping the guy out.  Lovely to see people give help to other internet users! Smiley  I know where to come when i've blown up something Cheesy
Logged
Thomas
Administrator
Webcasting Master
*****

Rep: +28/-3
Offline Offline

Posts: 2,804



WWW
« Reply #11 on: January 26, 2009, 12:30:47 AM »

Just thought I'd say I've repped a few of you for helping the guy out.  Lovely to see people give help to other internet users! Smiley  I know where to come when i've blown up something Cheesy

I see my reps now gone up Cry boo hoo lol.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

.
>
Your banner advert here for only $20/month...
1radio streaming pulse stream finder
Talk Webcasting is copyright © Thomas Etherington 2005 - 2008
Talk Webcasting is part of the Netza Internet Powered by SMF 1.1.20 | SMF © 2006-2008, Simple Machines
Why not visit one of our friend's websites? Choose one of the sites below:

Premium Content: SHOUTcast hosting | Double your Website Traffic | Advertise Here - $7.50



Other Related Websites:
Shoutcast Streaming | Custom Player | Webradio Statistics | Want to DJ on a new station? Register now and be on air in the next hour. Free slots for TW users. | Vox Junction Voice Overs | Stream Finder | E-mail us to swap links!


Talk Webcasting .com is a popular webcasters forum where members can discuss all sorts of webcasting, such as Podcasting, SHOUTcast, Web Radio, Web Video, on demand and live content...Our members include DJs, Station Owners, Stream Hosts, Voice Over Artists, newbies...