Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 14th May 2012, 23:40   #1
Myth024
Junior Member
 
Join Date: Mar 2005
Posts: 7
Shoutcast server config.. I'm so lost...

Ok two things first.
1. I don't need it to be listed on the shoutcast server
2. I don't intend on any mp3 streaming (probably live broadcasting with my mic)

I have it configured to the point where I can stream files through winamp locally. What I can't do is access the stream publicly.

I have a domain name that points to my own server that I have direct access to without the need of ftp or anything along those lines. What I want is people to be able to do is enter in my domain name (www.mydomain.org:2020) and be able to see the shoutcast DNAS index page. I'm also hoping that eventually I can also use this to open up the streaming station.
I've tried reading through the documentation but for the life of me I can't figure out where in the sc_serv.conf file I should put my domain url. I know I've got to be missing something simple, I just have no idea what.
Extra Info: Just to check, I started a tomcat server on port 2020 and I could access it by typing in www.mydomain.com:2020 so I know I have the right port forwarding etc.

Last edited by Myth024; 15th May 2012 at 01:37. Reason: Extra information
Myth024 is offline   Reply With Quote
Old 14th May 2012, 23:50   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,476
you need to have 'mydomain.org' associated with the IP address of the machine which used to then run the DNAS on (as sounds like you have done).

then in the DNAS config you'd need to ensure portbase is set as portbase=2020 or to whatever port you want to use and then accessing mydomain.org:2020 should provide the DNAS server's index.html page as long as what has been set for portbase is 'open' so the external network traffic can get through to the DNAS to be able to respond.

since if it's working ok locally, then it is most likely a lack of the required port being opened to allow the traffic through.

-daz
DrO is offline   Reply With Quote
Old 15th May 2012, 00:57   #3
Myth024
Junior Member
 
Join Date: Mar 2005
Posts: 7
Yea, I checked my port forwarding and even put my computer in the DMZ for a bit. I can access other things on my domain through the firewall and I have the portbase set but I'm still not getting the right page. I even tried entering in the IP. I can get the page if I use localhost but nothing else.
So if I do localhost:2020 I get the Shoutcast DNAS summary page. If I put in 72.xxx.xxx.xxx:2020 (the public IP) I get page can not be found. I can put in the public IP or my domain and get straight to my web pages on port 80.I made sure my apache server isn't listeing to the same port as the shoutcast server. I'm just wondering if there someplace inside the config file that I have to put in my domain name.
Myth024 is offline   Reply With Quote
Old 15th May 2012, 04:16   #4
Myth024
Junior Member
 
Join Date: Mar 2005
Posts: 7
What am I missing?

Ok, I'm trying to essentially run a shoutcast server but I don't need it publicly listed and I won't be using the mp3 format.
I have made sure the correct port is open and even temporarily put another type of server on that port to make sure I could get to it.
To be doubly sure, I even put the computer the shoutcast server is running on in the DMZ zone.
Now when I type localhost:2020 (yes, I did remember to change the baseport) I get the shoutcast dnas summary screen. If I type in my public IP (xxx.xxx.xxx.xxx:2020) I get page can not be displayed. I do have port forwarding enabled and like I said, I know I can get to that port on my public IP. So lets assume that firewall/router is not the issue.
I'm sure there is something I'm missing in my serv_conf.conf file. I'm pasting an example of what I think the file should look like.

Quote:
<----begin file------>
; NOTE: for any relative paths specified are relative to
; sc_serv and not to where the conf file is being stored

; here we will setup where the log and other related files
; will be stored. make sure that these folders exist else
; sc_serv will throw an error and will close itself down.
; we will make the logs save to the sc_serv2 directory
logfile=logs\sc_serv.log
w3clog=logs\sc_w3c.log
banfile=control\sc_serv.ban
ripfile=control\sc_serv.rip


; for testing we will make the server only work locally
; (i.e. localhost / 127.0.0.1) though if this is left out
; or set to publicserver=always then we attempt to make a
; connection to the YP for listing - do not forget to add
; in a 'streamauthhash' value for any public streams made
;publicserver=always


; if you're wanting to use a different port to use for any
; connections then you can use this option e.g. to use 80
; otherwise port 8000 is used as the default to listen on.
portbase=2020

; password used by sc_trans or the Winamp dsp plug-in
; NOTE: remember to change this to something else
password=testing


; password used for accessing the administation pages
; NOTE: remember to change this to something else
adminpassword=changeme


; now we will specify the details of the stream we're going
; to serve which can be done as follows

streamid=1
streampath=/test.aac

; or

; it can be done like this which is how it needs to be done
; if you are going to provide multiple streams from sc_serv
;streamid_1=1
;streampath_1=/test.aac
;streamid_2=2
;streampath_2=/test2.aac
<-----End File----->
So what am I missing, or what should I change. I've looked at all the examples, tried the configurator and looked through as many forum articles as I could find and still haven't found a solution. I will be doing live streaming using winamp DSP and my mic to talk.
Myth024 is offline   Reply With Quote
Old 17th May 2012, 12:52   #5
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,476
other than seeing if setting destip=72.xxx.xxx.xxx from the public IP helps (72.xxx.xxx.xxx:2020) you've mentioned), there's nothing else i can think off as to why you are not getting a response if it's working via localhost:2020 as i can only assume that it's not responding since it's just not getting the responses through from being bound to the wrong IP on the host.

and disable / remove the streampath=/test.aac line from the config - unless your stream would be an AAC stream, having that will cause a lot of clients to fail to play the stream (once the public issue has been resolved).

-daz
DrO is offline   Reply With Quote
Old 28th June 2012, 11:10   #6
sgolemanski
Junior Member
 
Join Date: Dec 2011
Posts: 6
Try this

Myth024,

Try to set "publicserver=never" in the config file.

Also you can try to set the Firewall to ask for every connection. Then start the Shoutcast server and Winamp and click "Allow".

Another thing - if your port forwarding on the router is properly configured, you don't need the DMZ zone enabled. Check here:

http://www.radiotoolbox.com/online_t...ntheygetin.php
sgolemanski is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

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