Tomcat not opening in browser of my machine which i have installed in campus Ubuntu server

时间:2017-12-18 05:48:24

标签: java ubuntu-16.04

This is the status of tomcat8 in ubuntu server. but i am not able to view it in browser.

 tomcat8.service - LSB: Start Tomcat.
 Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
 Active: active (running) since Sat 2017-12-16 15:48:34 IST; 1 day 19h ago
 Docs: man:systemd-sysv-generator(8)
 Tasks: 51 (limit: 512)
 CGroup: /system.slice/tomcat8.service
       └─28131 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config

 Dec 16 15:48:29 dellgpu1-C6100 systemd[1]: Starting LSB: Start Tomcat....
 Dec 16 15:48:29 dellgpu1-C6100 tomcat8[28104]:  * Starting Tomcat servlet engine
 Dec 16 15:48:34 dellgpu1-C6100 tomcat8[28104]:    ...done.
 Dec 16 15:48:34 dellgpu1-C6100 systemd[1]: Started LSB: Start Tomcat..
 lines 1-12/12 (END)

2 个答案:

答案 0 :(得分:0)

您可以检查server.xml文件中的端口号

  1. 转到tomcat文件夹> conf
  2. 打开server.xml文件并检查连接器端口号。
  3. 在浏览器中打开tomcat主页就好了 http://SystemIP:connectorPORT

答案 1 :(得分:0)

我都尽力了。我无能为力,然后我联系了我校园的网络管理员,他解决了这个问题。这是一个防火墙问题。谢谢