CNode

为什么访问不了vultr云主机的node服务?

问答
Tthelou1s发布于10 年前最后回复10 年前8 回复4420 浏览0 收藏

在vultr云主机上启动一个LogServer,运行在端口8888,ssh内可以访问8888,一切正常。

但用ip:8888缺没反应,为什么,求大神解答,谢谢啦。

ssh可以访问8888,网页却打不开:

[root@TheUtopia ~]# curl http://45.63.xx.xx:8888 onEnd() Hello World2

查看回复

回复 (8)

I
i5ting#1·10 年前

要用公网ip吧

T
thelou1s#2·10 年前

嗯 是用公网ip的 浏览器输入http://xx.xx.xx.xx:8888没反应:(

T
thelou1s#3·10 年前
引用 i5ting要用公网ip吧

@i5ting 编辑了下问题,这样清楚一些:)

K
kotoyuuko#4·10 年前

要设置防火墙吧

T
thelou1s#5·10 年前
引用 kotoyuuko要设置防火墙吧

@kotoyuuko 怎么设置,以前用digitalocean直接可以, vultr不知道怎么设置, 求教一下

T
thelou1s#6·10 年前
引用 kotoyuuko要设置防火墙吧

@kotoyuuko

[root@TheUtopia LogServer]# firewall-cmd --state bash: firewall-cmd: command not found

没有这个命令,唉

I
i5ting#7·10 年前
引用 thelou1s@kotoyuuko [root@TheUtopia LogServer] firewall cmd state bash: firewall cmd: command not found 没...

@thelou1s 先确定你是什么操作系统,再查防火墙命令

参与回复
登录后即可参与回复。登录