In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the successful release of the tomcat service in Linux but the LAN browser can not access how to do, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
Problem description: I built a tomcat server in Linux. After tomcat was turned on, I found that the tomcat could not be accessed on the LAN browser, and the browser reported that the server could not be accessed. I checked the log of tomcat and the path.... / tomcat/logs/catalina.out, and found that tomcat did not report an error during the opening process. I checked the project log again, and there were no errors.
Solution: search the Internet and find that many people have encountered this problem, which is caused by the opening of the Linux firewall. Online methods are mostly started and stopped through the following instructions
Service iptables stop search # stop
Chkconfig iptables off # disabled
However, because the Linux system I installed is centos 7, the above two instructions cannot be executed in the modified Linux, and the following error is reported:
Redirecting to / bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
In different Linux systems, the operation instructions are generally the same, but different systems will still have slight differences, we often use red hat. For red hat, the above two stops and disables are available, but for centos 7 systems, you can start and stop the Linux firewall only by using the following instructions.
Systemctl stop firewalld.service # stop
Systemctl disable firewalld.service # disabled
Thank you for reading this article carefully. I hope the article "what to do if the tomcat service in Linux is successfully released but cannot be accessed by the LAN browser" shared by the editor will be helpful to you. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 220
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.