try the IP of the server, and port ford ward that. my best guess, works on a machine with localhost, if you port forward the localhosts IP From: Damien Sykes-Lindley Sent: Friday, July 22, 2016 9:21 PM To: Icecast streaming server user discussions Subject: Re: [Icecast] Config and other areas of struggle Hi Marvin, Thanks for the clarifications. I didn't enter any address in the <listen-socket> section, just a port. The example came with the 127.0.0.1 commented out, so I removed it altogether. The only other thing I can think of is the hostname in the main <icecast> section, but that is set to my domain address, not to localhost or any IP address, local or otherwise. Cheers. _______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160722/3b0a4555/attachment.html>
Hi Alan, In actual fact, I’m having to test everything (server, streamer and player) on the same machine, which is configured in my router to be the server. I have opened the port specified in my config and the port after it and I have set it to allow both TCP and UDP, as I didn’t know which it used. I have also tried setting the hostname to my external IP address rather than a domain, and have even tried linking the port to a bound address, nothing. In fact if I specify a bind-address it actually comes up with an error when starting the server itself. Cheers. Damien. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160722/c5e8641b/attachment-0001.html>
On 23/07/16 08:31, Alan Bowness wrote:> The only other thing I can think of is the hostname in the main <icecast> > section, but that is set to my domain address, not to localhost or any IP > address, local or otherwisehostname should be the 'name' of your host computer. I use ip address so hostname = 192.168.x.x or 10.0.0.x or whatever your network uses make sure your computer has a FIXED not a DYNAMIC IP address. On your router you need to set up port forwarding so that the outside world looking at your modem/router address on port 8000 is directed to the host running Icecast . If you get stuck; post your icecast.xml regards Robert -- *Communication Consultants* 64 Warner Park Avenue Laingholm Auckland 0604 09 8176358 0221693124 06 650 6087 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160723/ce4645e0/attachment.html>
On 22 Jul 2016, at 23:08, Robert Jeffares wrote:> On 23/07/16 08:31, Alan Bowness wrote: >> The only other thing I can think of is the hostname in the main >> <icecast> >> section, but that is set to my domain address, not to localhost or >> any IP >> address, local or otherwise > hostname should be the 'name' of your host computer. I use ip address > so hostname = 192.168.x.x or 10.0.0.x or whatever your network uses > make sure your computer has a FIXED not a DYNAMIC IP address.Actually, is he wants to use his Icecast instance from the Internet, the hostname SHOULD NOT be set to internal IP (like 192.168.x.x or 10.0.0.x). But generally this does not matter for connecting from the outside. That is not affected at all by the hostname configured. It's important for some things on the web interface and the playlists to work properly and especially for yellow page (Icecast directory) listings, so it's important it's set correct but does not impact the ability to connect to the server.> > On your router you need to set up port forwarding so that the outside > world looking at your modem/router address on port 8000 is directed to > the host running Icecast . > > If you get stuck; post your icecast.xml > > regards > > Robert > > -- > *Communication Consultants* > 64 Warner Park Avenue > > Laingholm > > Auckland 0604 > > 09 8176358 > > 0221693124 > > 06 650 6087 > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Hi all, OK, this stuff about internal and external IP addresses is confusing me. I always thought that an internal IP address (192.168.x.x) was for running things on a network, and an external for running things on the internet. I use 192.168.1.254 to log into my router and have forwarded port 28888 (8000 is already being used by another server I’m running) for Icecast, as specified in the <listen-socket> section. The router doesn’t ask me for an IP address, but instead gives me a list of connected machines. My config file is below. <icecast> <location>Wherever</location> <admin>contact</admin> <hostname>home.dayme.me</hostname> <!-- home.dayme.me resolves to my machine's external IP address (81.174.146.88), which is static. --> <limits> <clients>100</clients> <sources>2</sources> <queue-size>524288</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> <burst-size>65535</burst-size> </limits> <authentication> <source-password>blah</source-password> <relay-password>whatever</relay-password> <admin-user>admin</admin-user> <admin-password>ahem-ahem</admin-password> </authentication> <listen-socket> <port>28888</port> </listen-socket> <http-headers> <header name="Access-Control-Allow-Origin" value="*" /> </http-headers> <fileserve>1</fileserve> <paths> <logdir>./log</logdir> <webroot>./web</webroot> <adminroot>./admin</adminroot> <alias source="/" destination="/status.xsl"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> <!-- Max size of a logfile --> <logarchive>1</logarchive> </logging> </icecast> Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160723/8db1e3d2/attachment.html>