Icecast Server网址仅适用于“:80”

时间:2020-02-15 18:13:08

标签: windows server icecast

我正在最新版本的Windows系统上运行Icecast服务器,并尝试使用SSL。它确实有效,但仅当我在URL中添加:80时才有效。一些Android用户说,他们在收听视频流时遇到问题,但这确实对我有用。我想尝试在不向URL添加:80的情况下访问服务器,希望taht能够解决监听问题(我可能做错了!我只是不知道什么)。

服务器URL:https://icecast.myradio.co.il:80

音频标签Fiddle:https://jsfiddle.net/hd3r1p29/

Icecast XML:

<icecast>
    <admin>hidden</admin>
    <location>earth</location>
    <limits>
        <clients>1000</clients>
        <sources>5</sources>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>hidden</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>hidden</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>hidden</admin-user>
        <admin-password>hidden</admin-password>
    </authentication>

    <hostname>icecast.myradio.co.il</hostname>

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <bind-address>144.76.80.253</bind-address>
        </listen-socket>
    <listen-socket>
        <port>80</port>
        <bind-address>144.76.80.253</bind-address>
        <ssl>1</ssl>
        </listen-socket>
    <fileserve>1</fileserve>
<paths>
<logdir>./log</logdir> 
<webroot>./web</webroot> 
<adminroot>./admin</adminroot>
<ssl-certificate>./ssl/icecast.pem</ssl-certificate>
<alias source="/" dest="/index.html"/> 
    </paths>

</icecast>

感谢您的帮助!

1 个答案:

答案 0 :(得分:2)

在端口80上运行HTTPS是不正常的。通常,它在端口443上运行。端口80是正常HTTP的运行位置。这就是为什么在使用HTTPS URL时必须指定端口...的原因,因为您没有使用标准端口配置。

<listen-socket>设置为启用SSL以使用端口443。将当前在端口8000上的另一个端口更改为80