首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache Superset在我的浏览器中不可用

Apache Superset在我的浏览器中不可用
EN

Stack Overflow用户
提问于 2021-08-04 23:09:46
回答 1查看 1.2K关注 0票数 0

在遵循https://superset.apache.org/docs/installation/installing-superset-from-scratch引用的安装说明之后,我无法在我的win 10 web浏览器中看到ip号码/服务器端口的应用程序。如何使它在正确的ip地址工作?

我已经将它安装在win 10笔记本电脑的CentOS 8 VM上。我正在使用NAT网络适配器,我可以使用putty和CentOS 8驾驶舱应用程序可在端口9090。

目前表示它的运行速度为127.0.0.1:8089:

代码语言:javascript
复制
(venv) /root>superset run -p 8089 --with-threads --reload --debugger
logging was configured successfully
2021-08-04 15:35:48,492:INFO:superset.utils.logging_configurator:logging was configured successfully
2021-08-04 15:35:48,505:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
/root/venv/lib64/python3.8/site-packages/flask_caching/__init__.py:201: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.
  warnings.warn(
No PIL installation found
2021-08-04 15:35:48,722:INFO:superset.utils.screenshots:No PIL installation found
 * Serving Flask app "superset" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
2021-08-04 15:35:50,007:INFO:werkzeug: * Running on http://127.0.0.1:8089/ (Press CTRL+C to quit)

netstat显示端口8089为127.0.0.1打开,但不显示VM的ip号。nmap显示关闭的端口.

代码语言:javascript
复制
/root>netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      944/sshd
tcp        0      0 127.0.0.1:8089          0.0.0.0:*               LISTEN      4247/python3
tcp6       0      0 :::9090                 :::*                    LISTEN      1/systemd
tcp6       0      0 :::22                   :::*                    LISTEN      944/sshd
/root>nmap 192.168.42.130
Starting Nmap 7.70 ( https://nmap.org ) at 2021-08-04 15:45 PDT
Nmap scan report for kevinsAppServer (192.168.42.130)
Host is up (0.000015s latency).
Not shown: 998 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
9090/tcp open  zeus-admin

Nmap done: 1 IP address (1 host up) scanned in 1.73 seconds
/root>nmap -p 8089 192.168.42.130
Starting Nmap 7.70 ( https://nmap.org ) at 2021-08-04 15:45 PDT
Nmap scan report for kevinsAppServer (192.168.42.130)
Host is up (0.000067s latency).

PORT     STATE  SERVICE
8089/tcp closed unknown

我认为如果我能在我服务器的IP号上打开端口的话,那就可以了,除非我做错了什么。

EN

回答 1

Stack Overflow用户

发布于 2021-08-05 19:58:43

我为超级集运行命令添加了-h选项,这是我在运行超集运行时发现的--帮助服务器命令行。所以现在这个命令起作用了:

超级集运行-h my.i.p.adddress -p 8089 -带线程-重新加载-调试器

在我的例子中,我还必须在CentOS防火墙上打开端口8089。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68658906

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档