Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connect Problem

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
nackgr



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 10:58 am    Post subject: Connect Problem Reply with quote

Hallo i setup my srv but i cant connect ... i start icecaste2 version 2.x srver i run sam broadcaster and connect file .. but i can listen something from http://my ip:8080/live and winamp cant connect :/

The Config File

Code:

<!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file. -->
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65536</burst-size>
</limits>


<authentication>
<source-password>password</relay-password>
<admin-user>admin</admin-user>
<admin-password>password</admin-password>
</authentication>

<hostname>127.0.0.1</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>100</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/resistencia" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>
Back to top
View user's profile Send private message
madjo



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 11:40 am    Post subject: Reply with quote

Could you try to connect to http://your ip:8000/live? (the listen-socket port is 8000 in this file)
Back to top
View user's profile Send private message
nackgr



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 12:30 pm    Post subject: Reply with quote

cant connect :/
Back to top
View user's profile Send private message
madjo



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 1:17 pm    Post subject: Reply with quote

Have you started/restarted the server?

because I doubt the server can start, I found this typo in your config file:
Code:
<source-password>password</relay-password>

the open tag says source-password, but you close it with /relay-password. that doesn't work. the latter should read '/source-password'
Back to top
View user's profile Send private message
nackgr



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 3:41 pm    Post subject: Reply with quote

server works fine the password the isnt my real password i just write password Smile
Back to top
View user's profile Send private message
nackgr



Joined: 18 Jan 2009
Posts: 4

PostPosted: Sun Jan 18, 2009 10:37 pm    Post subject: Reply with quote

http://localhost:8000/live with this i can hear ... but with my ip .. nothing works as listen url at icecast is http://myip:8000/live but still i cant hear nothing ...
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jan 18, 2009 11:37 pm    Post subject: Reply with quote

lack of incoming external connections would indicate either a firewall is blocking access or a NAT is not forwarding packets to the icecast server.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
als



Joined: 14 Oct 2008
Posts: 18

PostPosted: Tue Jan 20, 2009 6:50 pm    Post subject: Reply with quote

<hostname>127.0.0.1</hostname>

means server accepts connections only from localhost
change it to YOUR IP
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 20, 2009 8:38 pm    Post subject: Reply with quote

not quite, hostname, is used when the address is unknown, like in directory updates. What you are referring to is bind-address which is not present in the xml presented. But yes, if bind-address of 127.0.0.1 was specified then no external connections could occur.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
als



Joined: 14 Oct 2008
Posts: 18

PostPosted: Mon Jan 26, 2009 10:01 am    Post subject: Reply with quote

nackgr

What OS is it?

karl
Isn't it also used in internal .m3u playlists?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jan 26, 2009 3:18 pm    Post subject: Reply with quote

als, it can be, although most of the time, the Host: header is sent and therefore it is known and not used.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber