Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Link to website (http://forums.winamp.com/showthread.php?t=140539)

RyuKin 29th June 2003 17:34

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)

FesterHead 29th June 2003 17:36

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

RyuKin 29th June 2003 17:47

right cheers, that'll probably take me a year to understand, but that just me! cheers.

FesterHead 29th June 2003 17:49

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.

RyuKin 29th June 2003 17:57

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?

FesterHead 29th June 2003 17:59

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:

RyuKin 29th June 2003 18:25

aw, your a god!! :D thanks SO much


All times are GMT. The time now is 16:54.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.