简体   繁体   English

Tomcat无法在Ubuntu Core上运行

[英]Tomcat is not working on Ubuntu Core

I've installed tomcat7 on my linux ubuntu. 我已经在Linux ubuntu上安装了tomcat7。 So , the port connector is 8080 as per default. 因此,默认情况下,端口连接器为8080。

I tried to telnet the port , it showed refused to connect. 我试图通过telnet端口,但显示拒绝连接。 But the main page of the ip when typed in web browser 但是在Web浏览器中键入时ip的主页

The results : 结果 :

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

Alright, so i telneting doesn't work but HTTP can connect. 好的,所以我无法进行telneting,但是HTTP可以连接。 So , i tried running the http://ip:8080//manager/html for tomcat also it showed me the below : 因此,我尝试为tomcat运行http:// ip:8080 // manager / html ,它也向我显示了以下内容:

This webpage is not available 此网页无法使用

ERR_CONNECTION_REFUSED ERR_CONNECTION_REFUSED
I don't have any firewall installed btw. 我没有安装任何防火墙。

Is there anything i can do? 有什么我可以做的吗?

I've realized there's some PID with unknown issue. 我已经意识到存在一些未知问题的PID。 The issue was , I checked catalina log and found out java heap memory error. 问题是,我检查了Catalina日志,发现Java堆内存错误。 Thus , I've killed some unwanted processes then walaa ! 因此,我杀死了一些不必要的进程,然后哇! it worked ! 有效 !

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM