Old 7th June 2006, 00:12   #1
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Cannot connect to my server

Just downloaded and installed version 1.9.5 of Shoutcat DNAS for Windows. The system where it's installed is running XP Pro, it has no SP at all (it's just a little test box). It will be used to serve files on an internal network with no Internet connectivity. The IP address of my SC server is 10.10.10.2. The IP address of the system where I'm connecting from is 10.10.10.3 with WinAmp.

Here's my sc_serv.ini

MaxUsers=32
Password=surething
PortBase=8000
LogFile=sc_serv.log
SrcIP=ANY
DestIP=ANY

Have a file called voices.mp3 in the content directory

When I start SC_DNAS everything seems to start properly. I can connect to the admin interface from my web browser, but when I try to play the MP3 file I get the following error

06/06/06@19:45:58> [dest 10.10.10.3] server unavailable, disconnecting

From WinAmp I'm trying the following http://128.29.81.27:8000/listen.pls

If I try any of the following

http://10.10.10.2:8000/content/voices.pls
http://128.29.81.27:8000/content/voices.mp3
http://128.29.81.27:8000/content/voices
http://128.29.81.27:8000/voices.pls
http://128.29.81.27:8000/voices.mp3
http://128.29.81.27:8000/voices

I get a message

06/06/06@19:45:58> [dest 10.10.10.3] invalid resource request(FILENAME THAT I TRIED HERE)

Any help will be greatly appreciated.
prborg is offline   Reply With Quote
Old 7th June 2006, 00:15   #2
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
you tune in by http://10.10.10.2:8000/listen.pls .... dunno if that is what you are after or not....

Plus, you need to be running winamp and the dsp so it can stream to dnas....

Try using a web browser to get the stream instead of winamp as well...
fc*uk is offline   Reply With Quote
Old 7th June 2006, 05:44   #3
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Tried http://10.10.10.2:8000/listen.pls from my browser as well as WinAmp and got the

06/06/06@19:45:58> [dest 10.10.10.3] server unavailable, disconnecting

message. What if I want to access a specific MP3 instead of a feed? Which of the following would I use to access the file?

http://10.10.10.2:8000/content/voices.pls
http://10.10.10.2:8000/content/voices.mp3
http://10.10.10.2:8000/content/voices
http://10.10.10.2:8000/voices.pls
http://10.10.10.2:8000/voices.mp3
http://10.10.10.2:8000/voices
prborg is offline   Reply With Quote
Old 7th June 2006, 05:54   #4
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
http://10.10.10.2:8000/content/voices.mp3
Nick@ss is offline   Reply With Quote
Old 7th June 2006, 05:56   #5
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Quote:
Originally posted by nick@ss
http://10.10.10.2:8000/content/voices.mp3
When I try this I get

06/06/06@19:45:58> [dest 10.10.10.3] invalid resource request(/content/voices.mp3)
prborg is offline   Reply With Quote
Old 7th June 2006, 06:04   #6
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
hmmm... it should just be http://10.0.0.2:8000/listen.pls the listen.pls file is built in, there is not a seperate playlist file.

content is only used if you the content directory enabled, and each mp3 file would then be turned into a pls (winamp playlist). So make sure you removed the ; in from of contentdir, and that the mp3 files exist in the correct directory you configured for content. For example

ContentDir=/home/hackerdork

and in /home/hackerdork I have blech.mp3

http://10.0.0.2:8000/content/blech.pls would be what I reference for on demand. A live stream using winamp would just use /listen.pls without content.

The error is telling you it cant find the mp3 file in the content directory you defined etc.

If you try to stream from winamp, the listeners wouldnt use the content request, just listen.pls to turn in to the stream itself. If you read the config file you will notice the content is for ON DEMAND, not live streaming.


Good luck.

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 7th June 2006, 14:28   #7
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Quote:
Originally posted by hackerdork
hmmm... it should just be http://10.0.0.2:8000/listen.pls the listen.pls file is built in, there is not a seperate playlist file.

content is only used if you the content directory enabled, and each mp3 file would then be turned into a pls (winamp playlist). So make sure you removed the ; in from of contentdir, and that the mp3 files exist in the correct directory you configured for content. For example

ContentDir=/home/hackerdork

and in /home/hackerdork I have blech.mp3

http://10.0.0.2:8000/content/blech.pls would be what I reference for on demand. A live stream using winamp would just use /listen.pls without content.

The error is telling you it cant find the mp3 file in the content directory you defined etc.

If you try to stream from winamp, the listeners wouldnt use the content request, just listen.pls to turn in to the stream itself. If you read the config file you will notice the content is for ON DEMAND, not live streaming.


Good luck.
Tried all that with the same result. I've even tried from the same box that is running the server using 127.0.0.1. I'm stumped here.
prborg is offline   Reply With Quote
Old 7th June 2006, 14:44   #8
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Quote:
Originally posted by hackerdork
hmmm... it should just be http://10.0.0.2:8000/listen.pls the listen.pls file is built in, there is not a seperate playlist file.

content is only used if you the content directory enabled, and each mp3 file would then be turned into a pls (winamp playlist). So make sure you removed the ; in from of contentdir, and that the mp3 files exist in the correct directory you configured for content. For example

ContentDir=/home/hackerdork

and in /home/hackerdork I have blech.mp3

http://10.0.0.2:8000/content/blech.pls would be what I reference for on demand. A live stream using winamp would just use /listen.pls without content.

The error is telling you it cant find the mp3 file in the content directory you defined etc.

If you try to stream from winamp, the listeners wouldnt use the content request, just listen.pls to turn in to the stream itself. If you read the config file you will notice the content is for ON DEMAND, not live streaming.


Good luck.
FIXED...

I had to specify the whole damn path to the content directory. I was using

ContentDir=./content

which is the default shiped with the SW, and I just changed it to

ContentDir=c:\program files\shoutcast\content

and it works!
prborg is offline   Reply With Quote
Old 7th June 2006, 14:45   #9
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
take a look at sc_serv.ini PortBase=xxxx

then http://localhostort (from port base) anything come up ?

~ D

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 7th June 2006, 17:44   #10
prborg
Junior Member
 
Join Date: Jun 2006
Posts: 8
Quote:
Originally posted by hackerdork
take a look at sc_serv.ini PortBase=xxxx

then http://localhostort (from port base) anything come up ?

~ D
I get the normal DNAS Status page
prborg 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