Old 29th June 2003, 17:34   #1
RyuKin
Registered User
 
RyuKin's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 190
Link to website

Hi there, Is it possible to create a link from my own website to play my radio station?
If so, could someone please tell me how to do it.

(sorry if this is a really obvious question, im a newbie)
RyuKin is offline   Reply With Quote
Old 29th June 2003, 17:36   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
DNAS link: http://yourDNASip:yourDNASport
Listen link: http://yourDNASip:yourDNASport/listen.pls

Replace yourDNASip with the ip of the DNAS (SHOUTcast server) and yourDNASport with the DNAS port (default is 8000)

Also, if your router doesn't support local loopback then machines on the same lan as the DNAS (you) need to use the lan ip of the DNAS to connect/listen.
Machines not on the same lan as the DNAS (the rest of the world) need to use the real, world-visible ip of the DNAS to connect/listen.

See RFC1918 for more information. Scroll down and look for the section titled:
3. Private Address Space

How to find your ip address (Part I).
How to find your ip address (Part II).

Finally, you can get a static name, such as foo.bar.com (not as cool as that, though ) from http://www.no-ip.com or one of the other myriad of Dynamic DNS Services.
Then, your links would be:
DNAS link: http://foo.bar.com:yourDNASport
Listen link: http://foo.bar.com:yourDNASport/listen.pls

FesterHead is offline   Reply With Quote
Old 29th June 2003, 17:47   #3
RyuKin
Registered User
 
RyuKin's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 190
right cheers, that'll probably take me a year to understand, but that just me! cheers.
RyuKin is offline   Reply With Quote
Old 29th June 2003, 17:49   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Easy part:
DNAS link: http://yourDNASip:yourDNASport
Listen link: http://yourDNASip:yourDNASport/listen.pls

Replace yourDNASip with the ip of the DNAS (SHOUTcast server) and yourDNASport with the DNAS port (default is 8000)


Example:
Let's say your ip is 123.345.567.789 and your DNAS is running at portBase 2112.

Then, the links would be:
DNAS link http://123.345.567.789:2112
Listen link http://123.345.567.789:2112/listen.pls

The rest of my reply tells when to use lan ips, how to find your ip, and what to do if you have a dynamic ip.

FesterHead is offline   Reply With Quote
Old 29th June 2003, 17:57   #5
RyuKin
Registered User
 
RyuKin's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 190
ahh ok.
Now this may sound like a REALLY stupid quesion, but how can i find out what port my DNAS is running from, and how i find out what my ip is?
RyuKin is offline   Reply With Quote
Old 29th June 2003, 17:59   #6
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
For the port, check out your DNASs sc-serv.ini configuration file for the portBase section (default shown below):
code:
; 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



As for your IP:

FesterHead is offline   Reply With Quote
Old 29th June 2003, 18:25   #7
RyuKin
Registered User
 
RyuKin's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 190
aw, your a god!! thanks SO much
RyuKin is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump