看了几次视频,现在linux在命令行终于可以连接上了,但是不知道是怎么回事,我一开始是连接私网的ip,可以连接上,进去之后输入
dir
命令也是可以出现目录的,但是我连接公网的ip之后,输入
dir
命令之后,却出现了下面这些东西:
[root@localhost /]# ftp 45.95.116.201 Connected to 47.95.117.201 (45.95.116.201). 220 Welcome YueSiWei FTP service. Name (47.95.117.201:root): ftpuser 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> dir 227 Entering Passive Mode (192,168,1,181,239,12). 425 Security: Bad IP connecting.
而且我用浏览器访问公网ftp的时候,输入完ftp的账号密码,就出现加载网页失败的提示,,但是用本地ftp软件连接公网的ftp就没有问题,,,感觉很晕。。