[英]I can't connect to my aws instance anymore
I've been running tomcat on my Amazon EC2 instance for a few weeks just fine but all of a sudden, I became unable to connect to it.我已经在我的 Amazon EC2 实例上运行 tomcat 几个星期了,但突然之间,我无法连接到它。 When I use putty I can connect to it fine but when I try to connect with my browser by using ip:8080, I can't connect anymore.
当我使用 putty 时,我可以很好地连接它,但是当我尝试使用 ip:8080 连接我的浏览器时,我无法再连接了。 I've tried restarting the instance (and of course, adjusting my input ip accordingly), restarting the tomcat server within the instance, and checking the security groups.
我已经尝试重新启动实例(当然,相应地调整我的输入 ip),重新启动实例中的 tomcat 服务器,并检查安全组。 Nothing seems to work.
似乎没有任何效果。 I have no idea why it stopped working out of the blue.
我不知道为什么它突然停止工作。 How should I proceed?
我该如何进行?
I had the same issue.我遇到过同样的问题。 The amazon troubleshooting did not help.
亚马逊故障排除没有帮助。 Then I remembered that I ad a line in my system32/driver/etc host file when I did some site migration.
然后我想起我在进行一些站点迁移时在我的 system32/driver/etc 主机文件中添加了一行。 Deleted that line and I was back in business again.
删除该行,我又重新开始营业了。
Hope that helped希望有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.