Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of tomcat Port in telnet without access to linux

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces in detail how to solve the tomcat port in telnet impassable linux. The sample code in this article is very detailed and has a certain reference value. Interested friends can refer to it.

Question:

Tomcat does not work under windows and telnet linux.

Reason:

Setting problem of Firewall under linux / etc/sysconfig/iptables

Solution:

1. Disable the firewall under linux

Service iptables stop

2. Add firewall access to tomcat port

Vim / etc/sysconfig/iptables

Copy a development command for port 22

-An INPUT-m state-- state NEW-m tcp-p tcp-- dport 22-j ACCEPT

Add it at the end, change 22 to your tomcat port number, and you can.

3. Restart the service

Service iptables restart

4. Restart tomcat

These are the details of how to solve the problem of the tomcat port in telnet without access to linux. Have you gained anything after reading it? If you want to know more about it, welcome to the industry information!

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: 0

*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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report