You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Windows 7上配置Icecast,实现局域网内指定链接收听流

How to Make Icecast Stream Accessible on Your Local Network (Windows 7)

Hey there! Getting your Icecast stream to work across your LAN is just a quick config tweak — let's walk through it step by step:

Step 1: Locate and Back Up Your Icecast Config File

First, find your icecast.xml configuration file. On Windows 7, this is usually in:
C:\Program Files (x86)\Icecast\config\icecast.xml
(If you installed Icecast to a custom directory, look there instead.)

Important: Make a copy of this file before editing it — that way you can revert if something goes wrong.

Step 2: Modify the Listen Address

Open icecast.xml in a text editor (Notepad works, but Notepad++ is better for formatting). Look for the <listen-socket> section. It probably looks like this by default:

<listen-socket>
    <port>8000</port>
    <bind-address>127.0.0.1</bind-address>
</listen-socket>

You have two solid options here:

  • Option 1: Listen on all network interfaces (most flexible, great if your Windows 7 machine's LAN IP might change). Update the <bind-address> to 0.0.0.0:
    <listen-socket>
        <port>8000</port>
        <bind-address>0.0.0.0</bind-address>
    </listen-socket>
    
  • Option 2: Listen only on your specific LAN IP (restricts Icecast to your current address). Replace 127.0.0.1 with your machine's LAN IP (192.168.1.10 in your example):
    <listen-socket>
        <port>8000</port>
        <bind-address>192.168.1.10</bind-address>
    </listen-socket>
    

Step 3: Save Changes and Restart Icecast

Save the edited icecast.xml file, then restart the Icecast service to apply the changes:

  1. Press Win + R, type services.msc, and hit Enter.
  2. Find the Icecast service in the list.
  3. Right-click it and select Restart.

If you prefer command line (run as Administrator):

net stop icecast
net start icecast

Step 4: Test the LAN Access

Grab another device on your local network (phone, laptop, etc.) and try accessing the stream using:
http://192.168.1.10:8000/stream

If it doesn’t work, check these common fixes:

  • Windows Firewall: Make sure you’ve allowed Icecast through the firewall, or temporarily disable it to test. You can add an inbound rule for port 8000 in Firewall settings.
  • LAN IP Correctness: Double-check your Windows 7 machine’s LAN IP by running ipconfig in Command Prompt — look for the IPv4 address under your active network adapter.

内容的提问来源于stack exchange,提问作者PascalL

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 06:28:37