因此,出于某种原因,我无法通过 Web 浏览器或 ping 访问我的 Amazon EC2 服务器。但是,我可以使用提供给我的公共 DNS 地址通过 SSH 进入它。
我对其使用了 Nmap,结果如下。
Starting Nmap 5.50 ( http://nmap.org ) at 2011-02-13 18:00 Central Standard Time
NSE: Loaded 57 scripts for scanning.
NSE: Script Pre-scanning.
NSE: Starting runlevel 1 (of 2) scan.
Initiating NSE at 18:00
Completed NSE at 18:00, 0.00s elapsed
NSE: Starting runlevel 2 (of 2) scan.
Initiating Ping Scan at 18:00
Scanning ec2-50-16-96-100.compute-1.amazonaws.com (50.16.96.100) [4 ports]
Completed Ping Scan at 18:00, 2.75s elapsed (1 total hosts)
Nmap scan report for ec2-50-16-96-100.compute-1.amazonaws.com (50.16.96.100) [host down]
NSE: Script Post-scanning.
NSE: Starting runlevel 1 (of 2) scan.
NSE: Starting runlevel 2 (of 2) scan.
Read data files from: C:\Program Files (x86)\Nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 6.71 seconds
Raw packets sent: 8 (304B) | Rcvd: 2 (80B)
如何通过浏览器查看我的服务器的网络主机?
答案1
在你的 IP(50.16.96.100) 上运行端口扫描,SSH 是唯一响应的端口,你确定你有一个 Web 服务器正在运行吗,如果你确定你已经安装了 Apache,那么运行
服务 httpd 启动
查看它是否处于离线状态。