我正在尝试在亚马逊云上创建一个简单的webserver服务器。但是,每次我安装apache时,一旦断开连接,我就不能再通过SSH连接回服务器。
djc@ubuntu:~/Desktop$ ssh -v -i lobbymonitor2.pem ec2-user@ec2-23-20-4-255.compute-1.amazonaws.com
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ec2-23-20-4-255.compute-1.amazonaws.com [23.20.4.255] port 22.
debug1: connect to address 23.20.4.255 port 22: Connection refused
ssh: connect to host ec2-23-20-4-255.compute-1.amazonaws.com port 22: Connection refusedApache中是否有我需要更改的设置?
发布于 2013-04-30 04:33:30
我将通过以下步骤对其进行调试:
访问吗?
发布于 2013-04-30 09:59:18
我保存了AMI,然后重新启动了一个新实例。看起来我又能连接上了。
https://stackoverflow.com/questions/16287562
复制相似问题