PDA

View Full Version : Almost There Help Please


teegee543
28th December 2003, 17:54
I need help finding the problem with my server but haven't found anything on the forums that really resolves my problem.

I have the plugin/server combo set up correctly. I'm running behind a Linksys router/firewall with ports 8000-8001 open, running a server according to RadioToolbox.

The server initializes correctly ending with this statement:
<12/28/03@13:44:41> [main] client main thread starting

The only problem is getting the plugin to connect to the server. The server doesn't seem to be able to connect although the plugin flashes the messages "sending authorization" and "receiving authorization response."

Please help. I'm pretty sure I have everything right and might just be a small problem I've overlooked.

teegee543
28th December 2003, 21:03
Also, If I'm behind a router do I set the server IP to the IP of the computer that I'm on or can I leave it at ANY. Thanks

DJHotIce
28th December 2003, 21:20
you need to send the server a source using the winamp DSP.

Additionally you need to open the port used by the server in your router.

teegee543
28th December 2003, 21:33
That's the problem I'm having. The source Winamp DSP tries to connect to my server but the server doesn't respond. It stops on the authentication step when I click on the Connect button in the DSP. The required ports are already open in my router.

DJHotIce
28th December 2003, 21:37
double check your connection details, make sure you have the address and the port settings correct.

teegee543
28th December 2003, 21:39
Yeah. Both the DSP and the server are set to use port 8000. I'm telling the DSP to connect to localhost and the IPs for the server are set to be ANY.

djmastermind
28th December 2003, 22:45
Make sure that you're playing valid MP3s.

teegee543
28th December 2003, 23:05
Even when I play mp3s then tell the DSP to connect, the server doesn't seem to respond to the connection request. I'm not sure if it's a problem with the server, router, or something else. I think everything should be configured correctly.

Server Config:
MaxUser=5
Password=(SET)
PortBase=8000
SrcIP=ANY
DestIP=ANY
Yport=80

Event log:
<12/28/03@17:39:59> [SHOUTcast] DNAS/win32 v1.9.2 (Nov 25 2002) starting up...
<12/28/03@17:39:59> [main] loaded config from C:\Program Files\SHOUTcast\sc_serv.ini
<12/28/03@17:39:59> [main] initializing (usermax:5 portbase:8000)...
<12/28/03@17:39:59> [main] No ban file found (sc_serv.ban)
<12/28/03@17:39:59> [main] No rip file found (sc_serv.rip)
<12/28/03@17:39:59> [main] opening source socket
<12/28/03@17:39:59> [main] source thread starting
<12/28/03@17:39:59> [main] opening client socket
<12/28/03@17:39:59> [main] Client Stream thread [0] starting
<12/28/03@17:39:59> [main] client main thread starting
<12/28/03@17:39:59> [source] listening for connection on port 8001

Router ports forwarded to 192.168.0.3 (my LAN IP):
8000-8001
80

DSP:
Address: localhost
Port: 8000

Is there anything else that could be wrong?

djmastermind
28th December 2003, 23:14
It sounds like it is. I'm just going to go through a checklist of the possible problems.. forgive me if I repeat some or all of what you mentioned above..

[ ]Valid MP3s? Does the DSP volume bars recognize the music?
[ ]If the server and source are on the same machine, put localhost into the address box in the SHOUTcast Source (WinAmp).
[ ]SrcIP and DestIP are set to ANY
[ ]The port in the DSP matches that of the DNAS

That's all I can think of right now. If I can think of more, I'll edit them in.

teegee543
28th December 2003, 23:22
The DSP bars recognize the music and I edited in my config on the above post.

djmastermind
28th December 2003, 23:25
To tell you the truth, I'm positively stumped. Try entering 127.0.0.1 in the address box.

teegee543
28th December 2003, 23:26
Same problem connecting. The frustration...

Julze
29th December 2003, 07:02
are you putting 8000 or 8001 in the port address of the dsp?

You must put 8000 not 8001... be carefull

checkout if you have any internal firewall....

Running WindowsXP?
If you are running WindowsXP you need to disable its built in Internet Connection Firewall.

First open the "Network Connections" folder then right click on your ISP/Connection and select "Properties". From there choose the "Advanced" tab and uncheck "Protect my computer and network by limiting or preventing access to this computer from the Internet". Hit "Yes" when the conformation dialog box comes up and then hit "OK" to close the network connection properties box.

Do that for all your network adapter....

else... have you try
telnet 127.0.0.1 8001

if you cannot connect... it's a firewall thing... not releated with Shoutcast/Winamp

if you can connect
type anything (exept your password)
and press [return]

if you get "invalid password" the server is working... so it must be the DSP
if you get notting or something else.... it maybe the Shoutcast Server....

anyways... I have to go... keep me informed....

djmastermind
29th December 2003, 12:49
I don't suspect the problem is firewall related. The firewall does not deal with LAN activity.. At least for the most part. This person's server is not even recognizing when they hit connect and they most definitely have everything inserted correctly.

FesterHead
29th December 2003, 15:03
Is your DNAS and Winamp/DSP combo on the same machine?

What exactly are you entering for "Address" and "Port" in the DSP?

Does the DNAS have a static lan ip or a dynamic one?

teegee543
30th December 2003, 03:15
The DNAS and Winamp/DSP combo is on the same machine.

DSP settings are:
Address: localhost
Port: 8000

I'm not sure about the DNAS IP. Would it be the IP of my computer (192.168.0.1) because the router forwards the requests, the IP of my computer (192.168.0.3), or localhost because the combo is on the same machine? I've tried all three in the DSP settings.

The LAN IP addresses themselves are static.

I'm not sure if this helps but the the ogg plugin can't connect to the Icecast server either. For some reason I can't connect to servers on my machine.

teegee543
30th December 2003, 15:44
I installed Sygate Personal Firewall to track the network activity of the DNAS and the Winamp/DSP combo.

Here's what happens when I click connect on the DSP:
1. DSP asks for permission to access the server on port 8001. Address on the DSP is set to port 8000.
2. DNAS asks for permission to be a server on port 8001.
3. Server asks for authentication.
4. The DSP is disconnected. Maybe the password is somehow borked along the way because the OGG DSP responds with Password failed... when connecting to the server.

Is the password sent in an encryted format? What else could mess up the sending of the password?

FesterHead
30th December 2003, 17:24
What DSP are you using as the source?

teegee543
30th December 2003, 20:13
I'm using the Shoutcast Source DSP v1.8.2b on Winamp 5