Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Can't connect (http://forums.winamp.com/showthread.php?t=159519)

Moiph 13th December 2003 01:43

Can't connect
 
I've installed the Shoutcast server and everything, yet when trying to go to http://69.47.134.79:8000 you can't connect. I'm on a Linksys router, and I have port forwarding enabled on 8000~8001.

Anyway, here's the event log:
<12/12/03@20:05:43> [SHOUTcast] DNAS/win32 v1.9.2 (Nov 25 2002) starting up...
<12/12/03@20:05:43> [main] loaded config from C:\Program Files\SHOUTcast\sc_serv.ini
<12/12/03@20:05:43> [main] initializing (usermax:32 portbase:8000)...
<12/12/03@20:05:43> [main] No ban file found (sc_serv.ban)
<12/12/03@20:05:43> [main] No rip file found (sc_serv.rip)
<12/12/03@20:05:43> [main] opening source socket
<12/12/03@20:05:43> [main] source thread starting
<12/12/03@20:05:43> [main] opening client socket
<12/12/03@20:05:43> [source] listening for connection on port 8001
<12/12/03@20:05:43> [main] Client Stream thread [0] starting
<12/12/03@20:05:43> [main] client main thread starting


Any ideas?

Thanks in advance.

FesterHead 13th December 2003 02:13

Please connect a source.

Check out http://www.radiotoolbox.com/cantheygetin and see if the reported information there helps.

Moiph 13th December 2003 02:14

That link doesn't work.

FesterHead 13th December 2003 02:16

Hopefully it'll come up later.

Still, please connect a source then examine the DNAS log for errors.

Moiph 13th December 2003 02:32

Well I went to that site and it says

69.47.134.79:8000 is Closed

Reason Given: Connection timed out
More about this error: This means that you are most likely behind a firewall, this error esentially says that you and your computer aren't there. You might also check to be sure that your ip is 69.47.134.79, if it is not then you are behind some sort of proxy.

Moiph 13th December 2003 02:34

I've set up servers with TeamSpeak before which I had to use port forwarding on n'stuff, and that has worked just fine...

Also, I have RelayPort=8000
RelayServer=ANY

djmastermind 13th December 2003 02:38

What you need to do is connect a source to the DNAS.

Check out the Sticky post titled:
SHOUTcast: Important Info & Answers to FAQs. READ ME!

Scroll down a bit and look for the section titled:
How to Setup a Live Audio Stream -> How to set up an Internet Radio station
How to Setup a Live Audio Stream -> 15 Steps to setting up SHOUTcast

Additionally, check out these tutorials:
Please read some polite advice.

Moiph 13th December 2003 02:58

I have winamp2 running and I'm trying to connect but it won't connect. I've got my DNAS running and everything.

djmastermind 13th December 2003 03:06

If the DNAS and source are on the same machine, put localhost into the address box in the SHOUTcast Source (WinAmp).

Moiph 13th December 2003 03:13

Tried that...

In my DNAS I'm getting this:

<12/12/03@22:08:13> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:08:43> [source] creating relay socket
<12/12/03@22:09:04> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:09:34> [source] creating relay socket
<12/12/03@22:09:55> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:10:25> [source] creating relay socket
<12/12/03@22:10:46> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:11:16> [source] creating relay socket
<12/12/03@22:11:37> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:12:07> [source] creating relay socket
<12/12/03@22:12:28> [source] error connecting to relay host [waiting 30s]
<12/12/03@22:12:58> [source] creating relay socket
<12/12/03@22:13:19> [source] error connecting to relay host [waiting 30s]

Over and over and over...

djmastermind 13th December 2003 03:14

Do you have anything set up in the relay section of you DNAS?

code:
; RelayPort and RelayServer specify that you want to be a relay server.
; Relay servers act as clients to another server, and rebroadcast.
; Set RelayPort to 0, RelayServer to empty, or just leave these commented
; out to disable relay mode.
; RelayPort=8000
; RelayServer=192.168.1.58


Moiph 13th December 2003 03:14

RelayPort=8000
RelayServer=192.168.1.58

I just took the ; out obviously.

Should the relayserver IP be something else though?

djmastermind 13th December 2003 03:18

Add the ; back in front unless you're trying to relay another already existing server.

Moiph 13th December 2003 03:19

Heh, I connected :P

<12/12/03@22:19:41> [SHOUTcast] DNAS/win32 v1.9.2 (Nov 25 2002) starting up...
<12/12/03@22:19:41> [main] loaded config from C:\Program Files\SHOUTcast\sc_serv.ini
<12/12/03@22:19:41> [main] initializing (usermax:32 portbase:8000)...
<12/12/03@22:19:41> [main] No ban file found (sc_serv.ban)
<12/12/03@22:19:41> [main] No rip file found (sc_serv.rip)
<12/12/03@22:19:41> [main] opening source socket
<12/12/03@22:19:42> [main] source thread starting
<12/12/03@22:19:42> [main] opening client socket
<12/12/03@22:19:42> [source] listening for connection on port 8001
<12/12/03@22:19:42> [main] Client Stream thread [0] starting
<12/12/03@22:19:42> [main] client main thread starting
<12/12/03@22:19:43> [source] connected from 127.0.0.1
<12/12/03@22:19:43> [source] icy-name:UberGaming Server ; icy-genre:Gaming/METAL
<12/12/03@22:19:43> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://www.ubergaming.net
<12/12/03@22:19:43> [source] icy-irc:#ubergaming ; icy-icq:0 ; icy-aim:Moiph2
<12/12/03@22:19:54> [yp_add] yp.shoutcast.com gave error (nak)
<12/12/03@22:19:54> [yp_add] yp.shoutcast.com gave extended error (Cannot see your station/computer (IP: 69.47.134.79:8000) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache (Connection timed out))
<12/12/03@22:20:53> [source] no data (30s timeout). disconnecting.


Update:

<12/12/03@22:21:23> [source] connected from 127.0.0.1
<12/12/03@22:21:24> [source] icy-name:UberGaming Server ; icy-genre:Gaming/METAL
<12/12/03@22:21:24> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://www.ubergaming.net
<12/12/03@22:21:24> [source] icy-irc:#ubergaming ; icy-icq:0 ; icy-aim:Moiph2


I have several songs in my playlist.

Another update: It keeps getting a no-data timeout and then reconnecting.

Edit: nevermind, now I hit play :P

djmastermind 13th December 2003 03:24

Are you on router?

Are you on WindowsXP?

Moiph 13th December 2003 03:25

Yes, Linksys router and winXP home.

Anyway, it seemds to be working now....I'm connected but can you try connecting to see if you can hear the music playing? My IP is 69.47.134.79

Edit: Ugh now my DNAS says:
<12/12/03@22:25:04> [yp_add] yp.shoutcast.com gave error (nak)
<12/12/03@22:25:04> [yp_add] yp.shoutcast.com gave extended error (Cannot see your station/computer (IP: 69.47.134.79:8000) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache (Connection timed out))

djmastermind 13th December 2003 03:27

Are you receiving anymore errors?

------

Link using this format: http://yourIP:yourPORT/listen.pls Replace "yourIP" with your IP (which you can find here) and "yourPORT" your portbase defined by your DNAS (server) config file. The default is 8000.

If you have a dynamic IP, you can get a static name at [url]www.no-ip.com[url].

Moiph 13th December 2003 03:28

http://69.47.134.79:8000/listen.pls

And I should have a Dynamic IP, however my router is always connected and thus it basically never changes...

Moiph 13th December 2003 03:29

<12/12/03@22:30:15> [yp_add] yp.shoutcast.com gave error (nak)
<12/12/03@22:30:15> [yp_add] yp.shoutcast.com gave extended error (Cannot see your station/computer (IP: 69.47.134.79:8000) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache (Connection timed out))

djmastermind 13th December 2003 03:31

No one can connect if you are getting that error. Reason being, your router is blocking entry through the port. You will need to get into your router configuration and 'forward ports'. Here's how:

(FIRST, go to the start menu, run..., enter "command". In there, enter "ipconfig".. copy down the entry after "IP Address......")

Go into your internet browser and enter "192.168.1.1" (without quotes). Leave the username part empty and in the pass, put "admin". On the top right, hit "advanced". On top, click "forwarding". Enter the following:

Under Ext. Port: 8000 to 8001
Check the TCP box
Enter the last three numbers of your IP address
Check enable.
Save the settings.

Moiph 13th December 2003 03:31

Yep, I already have that done.

Edit: Didn't have TCP checked but it is now.

djmastermind 13th December 2003 03:34

Try to connect. After trying, post the DNAS log here.

Moiph 13th December 2003 03:35

Killed the server, restarted it, here's the logs:

<12/12/03@22:34:53> [SHOUTcast] DNAS/win32 v1.9.2 (Nov 25 2002) starting up...
<12/12/03@22:34:53> [main] loaded config from C:\Program Files\SHOUTcast\sc_serv.ini
<12/12/03@22:34:53> [main] initializing (usermax:32 portbase:8000)...
<12/12/03@22:34:53> [main] No ban file found (sc_serv.ban)
<12/12/03@22:34:53> [main] No rip file found (sc_serv.rip)
<12/12/03@22:34:53> [main] opening source socket
<12/12/03@22:34:53> [main] source thread starting
<12/12/03@22:34:53> [main] opening client socket
<12/12/03@22:34:53> [main] Client Stream thread [0] starting
<12/12/03@22:34:53> [source] listening for connection on port 8001
<12/12/03@22:34:53> [main] client main thread starting
<12/12/03@22:34:59> [source] connected from 127.0.0.1
<12/12/03@22:35:00> [source] icy-name:UberGaming Server ; icy-genre:Gaming/METAL
<12/12/03@22:35:00> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://www.ubergaming.net
<12/12/03@22:35:00> [source] icy-irc:#ubergaming ; icy-icq:0 ; icy-aim:Moiph2
<12/12/03@22:35:01> [dest: 205.188.234.41] starting stream (UID: 0)[L: 1]{A: SHOUTcast Directory Tester}(P: 0)
<12/12/03@22:35:01> [dest: 205.188.234.41] connection closed (0 seconds) (UID: 0)[L: 0]{Bytes: 8192}(P: 0)
<12/12/03@22:35:02> [yp_add] yp.shoutcast.com added me successfully

Moiph 13th December 2003 03:38

<12/12/03@22:38:01> [yp_tch] yp.shoutcast.com touched!
<12/12/03@22:39:09> [dest: 200.66.139.139] starting stream (UID: 1)[L: 1]{A: WinampMPEG/2.9}(P: 0)
<12/12/03@22:39:15> [dest: 200.66.139.139] connection closed (5 seconds) (UID: 1)[L: 0]{Bytes: 24576}(P: 0)
<12/12/03@22:39:16> [dest: 200.66.139.139] starting stream (UID: 2)[L: 1]{A: WinampMPEG/2.9}(P: 0)
<12/12/03@22:39:35> [dest: 24.14.127.100] starting stream (UID: 3)[L: 2]{A: WinampMPEG/2.9}(P: 1)


I guess my friend connected, and he can hear it :)

djmastermind 13th December 2003 03:40

Looks like you're good to go.

Moiph 13th December 2003 03:41

Thanks a ton!


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.