Avatar billede alai Nybegynder
15. februar 2006 - 12:16 Der er 16 kommentarer og
1 løsning

hjælp til Shoutcast

Hej

jeg har opsat shoutcast radio på min computer..
det virker på http://127.0.0.1:8000/listen.pls

men virker ikke med min IP http://82.192.163.119:8000/listen.pls?

hvorfor?
Avatar billede levithan Nybegynder
15. februar 2006 - 12:24 #1
har du forwardet port 8000 til din indterne pcer på netværket i din router

172.0.0.1 er loopback tcp/ip protokol stak tester adressen,
Avatar billede alai Nybegynder
15. februar 2006 - 12:36 #2
ja det har jeg lige gjort men jeg ved ikke om det er rigtigt,
jeg var inde i router og Virtual Server


ID  Public Port  Private Port  Port Type  Host IP Address 
3        8000        8000          TCP    127.0.0.1
Avatar billede levithan Nybegynder
15. februar 2006 - 12:40 #3
prøv at skifte 127.0.0.1 ud med den netværks adresse som din DHCP (router) giver dig

kan findes ved at åbne en dos promt. ( start > kør > skriv cmd > tryk ok

adressen kan feks hedde 10.0.0.2 eller 192.168.1.2  noget i den stil
Avatar billede alai Nybegynder
15. februar 2006 - 12:51 #4
netværk adress er 10.0.0.97

jeg har skift til 10.0.0.97

ved ikke om det virker

ID  Public Port  Private Port  Port Type  Host IP Address 
3        8000        8000          TCP    10.0.0.97
Avatar billede levithan Nybegynder
15. februar 2006 - 13:33 #5
prøv det det skulle være den korrekte opsætning.

hvis du kan så opret følgende ud over den anden

ID  Public Port  Private Port  Port Type  Host IP Address 
3        8000        8000          UDP    10.0.0.97
Avatar billede alai Nybegynder
15. februar 2006 - 14:38 #6
ja nu har jeg lavet om

ID  Public Port  Private Port  Port Type  Host IP Address 
3        8000        8000          UDP    10.0.0.97
Avatar billede levithan Nybegynder
15. februar 2006 - 14:44 #7
har du fulgt denne vejledning

Configure your SHOUTcast Server


If you wish to configure the SHOUTcast server, the configuration file contains several options that can be changed. here is a basic explanation of what each option does.


PortBase: The port SHOUTcast should send use for sending audio. The default is 8000. Unix users should be aware that they cannot use a port below 1024 unless they run the server as root.
MaxUser: The maximum allowable listeners at any one time. Make sure you set this to a realistic number depending on your bandwidth and operating system. Maximum bandwidth used for serving is equal to the bitrate you are serving at multiplied by MaxUser x 1.1.
Password: The password to use for streaming content and administration. This needs to precisely match the password in the shoutcast dsp plug-in in order for source providers to send content with your server.
Logfile: The file to use to store the console log. Use /dev/null or leave empty to disable file-based logging.
SrcIP: The IP interface to bind the source listener to. Only important on machines with more than one IP interface or ethernet card. Default is to listen to all ip addresses, when set to ANY.
DestIP: The IP interface to listen for clients on. Only important on machines with more than one IP interface or ethernet card. Default is to listen to all ip addresses, when set to ANY.
RelayServer: [Optional] If defined, the SHOUTcast server will not accept source connections, and instead attempt to connect to the server name defined here for transmission
RelayPort: [Optional] The port that the relay server is sending audio on.
RelayPublic: [Optional] When running a relay server, use "always" to make the server always public (regardless of whether the source server is public) or "never" to make the server never public. Anything else makes the server the same as the source server.
RealTime: [Console systems only] This flag determines whether or not the server displays a real-time status indicator with listner count.
ScreenLog: [Console systems only] If this flag is set to 1, the server will display all diagnostic data on screen in addition to writing it to the logfile.
HistoryLog: [Optional] If set to anything other than 'none', the server will append to the file named here information on listener count, timestamp, and metadata at a provided interval.
HistoryLogTime: [Optional] The value, in seconds, of how often the server should update the HistoryLogFile.
Yport: [Optional] If you're located behind a web cache, you can tell the Shoutcast server to use a different inbound port to send directory data to. The only values that work are 80 and 800. The default is 80.
NameLookups: [Optional] If set to 1, the server will attempt to resolve all IP addresses into their FQDN (i.e. 207.48.52.225 becomes www.winamp.com)
AutoDumpUsers: [Optional] If set to 1, the server will disconnect listeners whenever the source becomes inactive. Otherwise, listeners are left connected and either get dead air or the BackupFile (see below).
IntroFile: [Optional] If defined, the server will send this file as-is to the listener before joining them with the content stream. CAUTION: This file MUST be in MP3 format, and of the *PRECISE* same bitrate, samplerate, and mono/stereo setting as your stream!!! If the file differs from the stream, the user gets an earful of nastiness or dead air.
BackupFile: [Optional] If defined, the server will send this file as-is to the listener whenever the server loses contact with the source stream or the source stream idles for 30s or more. CAUTION: This file MUST be in MP3 format, and of the *PRECISE* same bitrate, samplerate, and mono/stereo setting as your stream!!! If the file differs from the stream, the user gets an earful of nastiness or dead air.
TitleFormat: [Optional] When defined, this string will repurpose how metadata appears to the player. If the flag %s is included in the parameter, then the title data from the source is included at that point in the string. For example, if your TitleFormat is 'Justin Radio: %s', and the source plug-in's title is 'Billy plays the blues', then the net title is 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers. The default is no format string.
URLFormat: [Optional] This behaves just like TitleFormat, except it applies to the minibrowser URL. Only useful when you want to do redirections and keep track of 'em.
CurrentLog: [Optional] CurrentLog provides a mechanism for regular updates to a file located on the same server as the SHOUTcast server. CurrentLog itself as a parameter does not exist, but rather is a family of parameters. They are as follows:
CurrentLogIn is the filename of an HTML template file.

CurrentLogOut is the filename the server should output the file to.

CurrentLogTime is the number of seconds the server should wait between updates to the output file.


The HTML template file is best explained with an example. Consider this file, stored on the same server and pointed to as CurrentLogIn:

<HTML><HEAD>
<TITLE>My Current Stats</TITLE>
<HEAD><BODY>
My SHOUTcast server is currently playing <!-- CURRENTSONG -->. 
You get see more information about it at <!-- URL -->
</BODY></HTML>

As you can see, the server inserts parameters where it finds comment fields with appropriate parameters. The parameters it recognizes are LISTENERS, MAXLISTENERS, LISTENERTABLE, GENRE, DESCRIPTION, URL, HITS, and CURRENTSONG. More information on these parameters can be found in the sc_serv.conf or sc_serv.ini file's comments.
Avatar billede levithan Nybegynder
15. februar 2006 - 14:44 #8
Avatar billede alai Nybegynder
15. februar 2006 - 14:50 #9
ja det tror jeg..


jeg har en anden computer, der virker med det adr. http://10.0.0.97:8000/listen.pls

det virker ikke med min ip
http://82.192.163.119:8000/listen.pls
Avatar billede levithan Nybegynder
15. februar 2006 - 15:07 #10
ok så problemet er at komme fra nettet og ind på din pcer. det er der du skal fokusere probblemet på
Avatar billede alai Nybegynder
15. februar 2006 - 15:09 #11
shoutcast server logfile

<02/15/06@15:05:26> [main] connecting to yp.shoutcast.com to remove myself before I die...
<02/15/06@15:05:35> [SHOUTcast] DNAS/win32 v1.9.5 (Dec 27 2004) starting up...
<02/15/06@15:05:35> [main] loaded config from C:\Programmer\SHOUTcast\sc_serv.ini
<02/15/06@15:05:35> [main] initializing (usermax:32 portbase:8000)...
<02/15/06@15:05:35> [main] No ban file found (sc_serv.ban)
<02/15/06@15:05:35> [main] No rip file found (sc_serv.rip)
<02/15/06@15:05:35> [main] opening source socket
<02/15/06@15:05:35> [main] source thread starting
<02/15/06@15:05:35> [main] opening client socket
<02/15/06@15:05:35> [source] listening for connection on port 8001
<02/15/06@15:05:35> [main] Client Stream thread [0] starting
<02/15/06@15:05:35> [main] client main thread starting
<02/15/06@15:05:56> [source] connected from 127.0.0.1
<02/15/06@15:05:57> [source] icy-name:Alaikal ; icy-genre:
<02/15/06@15:05:57> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://www.alaikal.com
<02/15/06@15:05:57> [source] icy-irc:#shoutcast ; icy-icq:0 ; icy-aim:N/A
<02/15/06@15:05:58> [yp_add] yp.shoutcast.com gave error (nak)
<02/15/06@15:05:58> [yp_add] yp.shoutcast.com gave extended error (Please identify this station's genre (in the dsp plugin YP tab).)
Avatar billede levithan Nybegynder
15. februar 2006 - 15:24 #12
<02/15/06@15:05:35> [main] No ban file found (sc_serv.ban)
<02/15/06@15:05:35> [main] No rip file found (sc_serv.rip)
<02/15/06@15:05:58> [yp_add] yp.shoutcast.com gave extended error (Please identify this station's genre (in the dsp plugin YP tab).)

og iøvrigt
<02/15/06@15:05:56> [source] connected from 127.0.0.1  er det en interne ip.
Avatar billede alai Nybegynder
15. februar 2006 - 15:46 #13
ved ikke men min servern virker båede 127.0.0.1 / 10.0.0.97
Avatar billede alai Nybegynder
16. februar 2006 - 09:45 #14
det virker fint.. tak for hjælp..
Avatar billede levithan Nybegynder
16. februar 2006 - 09:57 #15
Det var da godt.  Hvad gjorde du så tilsidst for at det kunne virke.
Avatar billede alai Nybegynder
16. februar 2006 - 10:02 #16
jeg havde ikke gemt i min router....
Avatar billede levithan Nybegynder
16. februar 2006 - 10:06 #17
ahh vigtig ting
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester