最近已经把crifan.com所在的服务器,从Atlanta搬家到london了:
【记录】把crifan.com的VPS从Atlanta更换到London
当时还好好的。
但是过几天后,此时:
2018-03-22 11:00
竟然无法访问
了。
SecureCRT去ssh登录也无法登陆了:
去ping,也不行:
<code>➜ ~ ping www.crifan.com PING www.crifan.com (80.85.87.205): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ^C --- www.crifan.com ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss </code>
然后去访问IP,也不行:
80.85.87.205
80.85.87.205/index.html
80.85.87.205/index.php
各种不行
然后去linode中的
https://www.linode.com/speedtest
http://speedtest.london.linode.com/100MB-london.bin
的下载速度还是可以的
但是自己的
还是无法访问
然后再去shutdown,reboot:
都还是不行。
看起来是:
www.crifan.com的DNS解析出IP:80.85.87.205
但是服务器本身无法访问。
去试试Linode的后台的console
console是可以访问的:
<code>[root@crifan ~]# lnmp status +-------------------------------------------+ | Manager for LNMP, Written by Licess | +-------------------------------------------+ | https://lnmp.org | +-------------------------------------------+ nginx (pid 3806 3805 3801) is running... php-fpm is runing! SUCCESS! MySQL running (4716) [root@crifan ~]# lnmp restart +-------------------------------------------+ | Manager for LNMP, Written by Licess | +-------------------------------------------+ | https://lnmp.org | +-------------------------------------------+ Stoping LNMP... Stoping nginx... done Shutting down MySQL. SUCCESS! Gracefully shutting down php-fpm . done Starting LNMP... Starting nginx... done Starting MySQL.. SUCCESS! Starting php-fpm done [root@crifan ~]# lnmp status +-------------------------------------------+ | Manager for LNMP, Written by Licess | +-------------------------------------------+ | https://lnmp.org | +-------------------------------------------+ nginx (pid 5104 5102 5101) is running... php-fpm is runing! SUCCESS! MySQL running (5619) [root@crifan ~]# </code>
然后再去看看
问题依旧:
linode lnmp 无法打开
:/root/lnmp restart后,VPS里面的网站都打不开了,这是什么情 – Linode讨论 – Linode中文社区 – Powered by Discuz!
好像不对,应该去先解决:
那问题来了:这两天我又没动服务器,为何无故的SSH的端口会被禁掉?
接着,crifan.com竟然就可以正常访问了:
此处也没有关闭什么80端口,恢复80端口,怎么无缘无故的,就又好了?
难道网站访问(http的80,和https的443)和端口22的SSH有关系?
很是奇怪。
接着所有的都正常了:
<code>➜ ~ ping www.crifan.com PING www.crifan.com (80.85.87.205): 56 data bytes 64 bytes from 80.85.87.205: icmp_seq=0 ttl=53 time=345.595 ms 64 bytes from 80.85.87.205: icmp_seq=1 ttl=53 time=254.847 ms 64 bytes from 80.85.87.205: icmp_seq=2 ttl=53 time=285.690 ms 64 bytes from 80.85.87.205: icmp_seq=3 ttl=53 time=266.409 ms ^C --- www.crifan.com ping statistics --- 5 packets transmitted, 4 packets received, 20.0% packet loss round-trip min/avg/max/stddev = 254.847/288.135/345.595/34.956 ms </code>
【总结】
此处,不是端口被封,开始是ssh无法登录,通过:
后,只是开放了22的ssh端口,重启了sshd服务,结果很奇怪的,也就解决了
ping不通
crifan.com网站打不开
的问题了。
根本原因,未知。