View previous topic :: View next topic |
Author |
Message |
nackgr
Joined: 18 Jan 2009 Posts: 4
|
Posted: Sun Jan 18, 2009 10:58 am Post subject: Connect Problem |
|
|
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 |
|
|
madjo
Joined: 18 Jan 2009 Posts: 4
|
Posted: Sun Jan 18, 2009 11:40 am Post subject: |
|
|
Could you try to connect to http://your ip:8000/live? (the listen-socket port is 8000 in this file) |
|
Back to top |
|
|
nackgr
Joined: 18 Jan 2009 Posts: 4
|
Posted: Sun Jan 18, 2009 12:30 pm Post subject: |
|
|
cant connect :/ |
|
Back to top |
|
|
madjo
Joined: 18 Jan 2009 Posts: 4
|
Posted: Sun Jan 18, 2009 1:17 pm Post subject: |
|
|
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 |
|
|
nackgr
Joined: 18 Jan 2009 Posts: 4
|
Posted: Sun Jan 18, 2009 3:41 pm Post subject: |
|
|
server works fine the password the isnt my real password i just write password |
|
Back to top |
|
|
nackgr
Joined: 18 Jan 2009 Posts: 4
|
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jan 18, 2009 11:37 pm Post subject: |
|
|
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 |
|
|
als
Joined: 14 Oct 2008 Posts: 18
|
Posted: Tue Jan 20, 2009 6:50 pm Post subject: |
|
|
<hostname>127.0.0.1</hostname>
means server accepts connections only from localhost
change it to YOUR IP |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 20, 2009 8:38 pm Post subject: |
|
|
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 |
|
|
als
Joined: 14 Oct 2008 Posts: 18
|
Posted: Mon Jan 26, 2009 10:01 am Post subject: |
|
|
nackgr
What OS is it?
karl
Isn't it also used in internal .m3u playlists? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jan 26, 2009 3:18 pm Post subject: |
|
|
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 |
|
|
|