java项目启动却访问不到
时间: 2023-09-26 11:10:58 浏览: 158
如果Java项目启动后无法访问,可能有以下几个原因需要检查和解决。
首先,您可以通过使用命令`ps aux | grep xxx.jar`来检查进程是否在运行。如果进程不在运行,您可以尝试重启项目。对于Tomcat和Spring Boot项目,可以使用相应的命令进行重启。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [项目已经部署到Linux 服务器,且启动成功,却访问不了](https://blog.csdn.net/weixin_45285213/article/details/120764979)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Java项目启动后,服务不显示端口号的问题](https://blog.csdn.net/yuanchangliang/article/details/125298995)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [基于java开发的开源网址导航网站项目](https://download.csdn.net/download/qq_35831906/88227135)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文