简体   繁体   English

如何为 Ubuntu 22.04 的驾驶舱打开端口 9090

[英]How to open port 9090 for cockpit for Ubuntu 22.04

I am trying to get cockpit for Linux running on a new Ubuntu (22.04) VPS.我正在尝试在新的 Ubuntu (22.04) VPS 上运行 Linux 的驾驶舱。 I've installed firewall-cmd, added the port 9090, disabled ufw, opened it on oracle cloud & netstat says it is listening on port 9090. But when I load it up it cannot load the page (address unreachable).我已经安装了firewall-cmd,添加了端口9090,禁用了ufw,在oracle云上打开了它,netstat说它正在监听端口9090。但是当我加载它时,它无法加载页面(地址无法访问)。 Using curl localhost:9090 shows the correct code, so I know it is something firewall.使用 curl localhost:9090 显示正确的代码,所以我知道这是防火墙。 Can anyone help?任何人都可以帮忙吗?

have you checked the iptables?你检查过iptables吗? and have maybe try to tcp ping the port to double check that it is open?并且可能尝试 tcp ping 端口以仔细检查它是否打开?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM