云服务器设置端口在哪里找出来

更新时间: 2023-06-20 12:05:03作者: 网站编辑阅读量: 190

您可以使用以下命令在云服务器的默认端口(默认端口号为21)中找到您的web服务器(服务器名为webserver)的21端口:

hosts 21 /etc/hosts

此命令将会打开默认的21端口。您可以使用以下命令来关闭默认的21端口:

``` hosts

!/bin/bash

21

/etc/hosts

!/bin/bash

21

/etc/profile

!/bin/bash

21

/etc/services

!/bin/bash

21 /etc/systems

!/bin/bash

21

wget

wget -

最新推荐

右侧广告图1右侧广告图2