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

Telnet checks whether the communication with the server port is normal.

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Install telnet

# yum-y install telnet

2. Detect the server port

# telnet 10.0.0.9 3306

Where 10.0.0.9 is the address of the server and 3306 is the port of the server.

After executing the above command, if a result similar to the following figure appears:

It indicates that the machine can communicate normally with 10.0.0.9, the port 3306 on 10.0.0.9 has been in a normal listening state, and the service corresponding to port 3306 has been started normally. (enter quit to exit telnet)

After executing the telnet command, if the following error is reported:

The reasons for reporting errors are as follows:

1. This machine cannot communicate with 10.0.0.9 normally.

2. The connection between this machine and port 3306 of 10.0.0.9 is blocked by its firewall.

3. Port 3306 on 10.0.0.9 is not listening, that is, the service corresponding to 3306 is not started normally.

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