Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 27th October 2010, 17:53   #1
Jallenbo
Junior Member
 
Join Date: Feb 2007
Posts: 5
Cannot connect to Shoutcast server on VPS

Hi everybody!
I've got myself a VPS, and I want to run a Shoutcast-server on this VPS. The OS is Ubuntu Server.

I have downloaded the Shoutcast DNAS and edited the config-file.

This is what the status window says:
Spoiler:
Quote:

root@***:~# sc_serv /usr/local/bin/sc_serv.conf
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************

Event log:
<10/27/10@19:44:00> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<10/27/10@19:44:00> [main] pid: 23883
<10/27/10@19:44:00> [main] loaded config from /usr/local/bin/sc_serv.conf
<10/27/10@19:44:00> [main] initializing (usermax:200 portbase:10000)...
<10/27/10@19:44:00> [main] No ban file found (sc_serv.ban)
<10/27/10@19:44:00> [main] No rip file found (sc_serv.rip)
<10/27/10@19:44:00> [main] opening source socket
<10/27/10@19:44:00> [main] source thread starting
<10/27/10@19:44:00> [main] opening client socket
<10/27/10@19:44:00> [main] Client Stream thread [0] starting
<10/27/10@19:44:00> [main] client main thread starting
<10/27/10@19:44:00> [source] listening for connection on port 10001
<10/27/10@19:44:19> [sleeping] 0 listeners (0 unique)

So far everything seems fine, but I cannot connect to the server. I use SAM to stream music.

I also run a Icecast -server on the same VPS, and that works fine. If I try to set the Icecast-server as a relay-server, the status window gives this message:
Spoiler:
Quote:
<10/27/10@19:50:50> [source] creating relay socket
<10/27/10@19:50:50> [source] relay host gave success (HTTP/1.0 200 OK)
<10/27/10@19:50:50> [source] relay from 127.0.0.1 established.
<10/27/10@19:50:50> [source] icy-name:N/A ; icy-genre:N/A
<10/27/10@19:50:50> [source] icy-pub:0 ; icy-br:0 ; icy-url:http://www.shoutcast.com
<10/27/10@19:50:50> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A
<10/27/10@19:51:07> [source] no data (15s timeout). disconnecting.
<10/27/10@19:51:07> [source] disconnecting from relay host [waiting 30s]
<10/27/10@19:51:37> [source] creating relay socketue)
<10/27/10@19:51:37> [source] relay host gave success (HTTP/1.0 200 OK)
<10/27/10@19:51:37> [source] relay from 127.0.0.1 established.
<10/27/10@19:51:37> [source] icy-name:N/A ; icy-genre:N/A
<10/27/10@19:51:37> [source] icy-pub:0 ; icy-br:0 ; icy-url:http://www.shoutcast.com
<10/27/10@19:51:37> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A
<10/27/10@19:51:54> [source] no data (15s timeout). disconnecting.


And this goes in a loop until I exit the server.

What is wrong, and how can I fix this?
Jallenbo is offline   Reply With Quote
Old 28th October 2010, 03:17   #2
dotme
Moderator
 
dotme's Avatar
 
Join Date: Feb 2005
Location: USA
Posts: 3,994
Could your VPS host provider be blocking ports?
dotme is offline   Reply With Quote
Old 28th October 2010, 07:06   #3
Jallenbo
Junior Member
 
Join Date: Feb 2007
Posts: 5
I tested the shoutcast-server on the same port I run icecast (8000), and then it worked fine. It seems likely that some ports are blocked. I'll contact the provider, and ask them if it's possible to open ports.
Jallenbo is offline   Reply With Quote
Old 28th October 2010, 08:31   #4
jaromanda
Major Dude
 
jaromanda's Avatar
 
Join Date: Jun 2007
Location: NSW Australia
Posts: 1,655
if you can't connect to the shoutcast socket, then shoutcast has no stream ... which is why icecast is saying "no data" ... because there is none!!

when you installed icecast, did you need to open port(s) for it to work? Perhaps you need to open ports (10000 and 10001) for shoutcast

General Shoutcast troubleshooting guide
  1. Ask a teenager
That should do it
jaromanda is offline   Reply With Quote
Old 28th October 2010, 10:56   #5
Jallenbo
Junior Member
 
Join Date: Feb 2007
Posts: 5
Quote:
Originally Posted by jaromanda View Post
if you can't connect to the shoutcast socket, then shoutcast has no stream ... which is why icecast is saying "no data" ... because there is none!!

when you installed icecast, did you need to open port(s) for it to work? Perhaps you need to open ports (10000 and 10001) for shoutcast
It isn't Icecast that is saying "no data". Both of the quotes I have in the first post is from the Shoutcast server.

No, I did not have to open ports to use icecast, and as I mentioned in my previous post, Shoutcast is working fine when I run it on port 8000.
Jallenbo is offline   Reply With Quote
Reply
Go Back   Winamp 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