linux - 无法访问 tomcat 主页但 tomcat 正在运行
问题描述
我已经在具有 linux os vm 的 aws ec2 实例上安装了 tomcat。当我将主机名放在我的 Windows 系统的浏览器中时,我无法访问 tomcat 的主页。我尝试了这些命令来检查 tomcat 是否工作。
ps x | grep /opt/tomcat | grep -v grep | cut -d ' ' -f 1
ps -ef | grep tomcat | grep -v "grep tomcat" | wc -l
ps -x |grep tomcat
ps -ef|grep java.
netstat -tulpn
lsof -i
并且 8080 端口正在侦听并且 tomcat 正在运行。hostname:8080
但是当我把它放在我的Windows浏览器中时,我无法访问tomcat主页。可能是什么问题呢?
解决方案
推荐阅读
- bash - 在 Bash for Windows 和 Powershell 中,如何设置热键以在提示的路径上交替前进/后退 \?
- docker - 如何通过 Docker Compose 初始化 Splunk HTTP 事件收集器并将其与 splunk 日志记录驱动程序一起使用
- c# - 用户是否看过某条推文?推特 API
- python - 从列表中删除换行符
- reactjs - 如何从 React 中的对象中获取数据
- php - 如何使用 php array_search 匹配多维数组中的 2 个键值
- unreal-engine4 - 如何导出虚幻引擎材质?
- ios - 分组 UITableView 顶部的奇数空间?
- c++ - 使 Eclipse CDT 正确忽略我的 GSL 跨度标头
- ajax - Django AJAX 请求仅获取最后一个元素(不是 getlist 问题)