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

Apache Zeppelin仅监听tcp6地址问题求助

Fixing Apache Zeppelin 0.7.3 Listening Only on IPv6 (tcp6) Port 8080

Hey there, I’ve run into this exact issue with older Zeppelin versions before—let’s get this sorted out for you!

First, the key configuration you’re missing is hidden in the conf directory, but you need to convert the template file into an active config first. Here’s what to do step by step:

  1. Activate the core config file
    Navigate to your Zeppelin installation’s conf folder. By default, Zeppelin only provides a template file, so you’ll need to copy it to create a usable config:

    cp zeppelin-site.xml.template zeppelin-site.xml
    
  2. Modify the listening address and port
    Open zeppelin-site.xml with your favorite text editor. Look for these two properties (they might be commented out initially):

    • zeppelin.server.addr: This controls which IP address Zeppelin binds to. By default, it’s not set, so Zeppelin uses the IPv6 wildcard address :: (which is why you only see tcp6 listening). To make it listen on all IPv4 and IPv6 addresses, set this to 0.0.0.0. If you want to restrict it to a specific IPv4 address, enter that instead (e.g., 192.168.0.10).
    • zeppelin.server.port: This sets the listening port (default is 8080—you can leave it as is or change it if needed).

    Here’s what the uncommented properties should look like:

    <property>
        <name>zeppelin.server.addr</name>
        <value>0.0.0.0</value>
        <description>Server binding address</description>
    </property>
    <property>
        <name>zeppelin.server.port</name>
        <value>8080</value>
        <description>Server port.</description>
    </property>
    
  3. Restart Zeppelin
    Stop your running Zeppelin instance and start it up again. Once it’s running, check the listening ports with a command like:

    netstat -tulpn | grep zeppelin
    

    You should now see Zeppelin listening on both tcp4 and tcp6 (or just tcp4 if you specified an IPv4 address).

A quick note: If your system has IPv6 enabled, binding to 0.0.0.0 will still allow IPv6 connections, but it ensures IPv4 clients can connect too. If you want to disable IPv6 entirely for Zeppelin, setting zeppelin.server.addr to a specific IPv4 address is the way to go.

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.19 04:11:50