PDA

View Full Version : Cannot connect to my own station


KayJayDK
30th May 2004, 21:08
I have searched the forum read the FAQs and so on and I found a lot of help on how to configure my DNAS and how to set up Winamp to broadcast.

I have made sure that my router is set up correctly and checked that the port is open on my IP. There are no errors in my log and I can connect to my station on localhost.

If I use http://localhost:8000/listen.pls to connect, it works fine but when I use my (public) IP http://217.157.169.138:8000/listen.pls winamp (or WMP) tells me that it cannot connect.

I use The Nullsoft 1.9.4 DNAS and the 1.8.2 SHOUTcast plug-in with WinAmp 5.03 on an XP (pro) machine.

I don't know if it's a NAT problem or what. I used to run an ISS server where everybody else but me could connect to, or maybe I set my DNAS up the wrong way.

Hope someone out there can help me.

protegechris
30th May 2004, 21:32
Could you please post your DNAS log?

This sounds like an issue with port forwarding on your router.

If you have something in your log that says "NAK error" then you need to go into your router settings, and forward ports 8000 and 8001 to the computer running the server.

KayJayDK
30th May 2004, 21:41
This log?

<05/30/04@22:55:26> [SHOUTcast] DNAS/win32 v1.9.4 (Mar 17 2004) starting up...
<05/30/04@22:55:26> [main] loaded config from C:\Programmer\Audio\SHOUTcast\sc_serv.ini
<05/30/04@22:55:26> [main] initializing (usermax:32 portbase:8000)...
<05/30/04@22:55:26> [main] No ban file found (sc_serv.ban)
<05/30/04@22:55:26> [main] No rip file found (sc_serv.rip)
<05/30/04@22:55:26> [main] opening source socket
<05/30/04@22:55:26> [main] source thread starting
<05/30/04@22:55:26> [main] opening client socket
<05/30/04@22:55:26> [main] Client Stream thread [0] starting
<05/30/04@22:55:26> [main] client main thread starting
<05/30/04@22:55:26> [source] listening for connection on port 8001
<05/30/04@22:55:43> [source] connected from 127.0.0.1
<05/30/04@22:55:43> [source] icy-name:KayJay's MP3 Bonanza ; icy-genre:Oldies
<05/30/04@22:55:43> [source] icy-pub:1 ; icy-br:56 ; icy-url:http://www.shoutcast.com
<05/30/04@22:55:43> [source] icy-irc:#shoutcast ; icy-icq:0 ; icy-aim:N/A
<05/30/04@22:55:45> [dest: 205.188.234.42] starting stream (UID: 0)[L: 1]{A: SHOUTcast Directory Tester}(P: 0)
<05/30/04@22:55:45> [dest: 205.188.234.42] connection closed (0 seconds) (UID: 0)[L: 0]{Bytes: 8192}(P: 0)
<05/30/04@22:55:47> [yp_add] yp.shoutcast.com added me successfully
<05/30/04@22:58:47> [yp_tch] yp.shoutcast.com touched!

KayJayDK
30th May 2004, 22:03
Btw, I've set up my router to forward all ports to the same machine. There's only one machine connected.

KayJayDK
30th May 2004, 22:32
Can anybody else connect? One of my friends tried but she didn't have WinAmp! (don't worry, I promised to help her install it this week) and her WMP couldn't play it.

I'd appreciate if someone could try and listen in and tell me if they succeeded...

http://217.157.169.138:8000/listen.pls

DJCassio
30th May 2004, 22:53
unless your router supports local loop-back you can't connect to your own server with your WAN IP adddress. For internal use, you did right by connecting either with localhost (on the same machine) or on another computer on the network use the LAN IP address of the shoutcast server. Your listener link works just fine for us on the outside.

KayJayDK
30th May 2004, 23:05
Thanks for the help!!

I was afraid I got it all wrong... Now I just need to convince everybody to use WinAmp instead of WMP!

protegechris
31st May 2004, 06:16
Actually there is a way to use WMP and/or REAL to listen.

Use the following codes:

To create a stream with WMP 7.1 and up, use the following:
<asx version="3.0">
<title>TITLE</title>
<entry>
<title>TITLE</title>
<author>AUTHOR</author>
<ref href="http://yourIP:yourPORT/"/>
</entry>
</asx>


Change the code to fit your needs.
Note: This only works in WMP 7.1 and up
Note the trialing slash after "yourPORT"

To make a file into a RealPlayer stream, make a notepad file with the following:

http://yourIP:yourport/listen.pls


Then save that as yourfile.ram

Then, just upload these files to your webhost, and when they are accessed, the link will open in the appropriate player.

KayJayDK
31st May 2004, 12:12
Great. Now ppl can connect to my station with any player, but I still don't see why they shouldn't use WinAmp...

After a bit of research I even found out how to enable local loop-back on my router. I had my ISP do it for me remotely once but they never told me I could do it myself. Wasn't easy either until I found out how to use the telnet interface.

DJCassio
31st May 2004, 12:21
Glad you worked it out, good luck with your station.

protegechris
31st May 2004, 23:00
True, Winamp IS the best media player ever, but there are a lot of people who say, will listen to your station, but not know a lot about computers, so they might not even know HOW to install Winamp.

Plus, some people have never even heard of it. And if someone see's you can ONLY use winamp, they would rather find a different station than have to download/install it.