当前位置:网站首页>The database of the server is not connected to 200310060 "unknown error" [the service is up, the firewall is off, the port is on, and the netlent port is not connected]
The database of the server is not connected to 200310060 "unknown error" [the service is up, the firewall is off, the port is on, and the netlent port is not connected]
2022-07-05 16:07:00 【Coaxing Conan】
The database of the server is disconnected 【 Service started 、 Firewall OFF 、 The port is open 、netlent Port failure 】
First of all : This article aims at The service is up 、 The firewall is closed 、 The security group port is also open , stay docker Containers can be connected MySQL, however Navicat You can't even , meanwhile netlent IP port Also different ,Navicat An error is as follows :

If you are such a wonderful problem , You can look at the following solutions .
First, confirm the firewall status
systemctl status firewalld

No problem , It's closed .
Look at the port
netstat -antulp | grep XXXX

No problem ,docker mysql The port is in use ,docker mysql If it's closed , Port is not used
Confirm whether the port corresponding to the security group of your server is open
telnet IP port Test the connection

As a result, the connection failed , Don't worry , Then down
Carry out orders :cat /proc/sys/net/ipv4/ip_forward

Be careful , Here is 0, It is not right ,0 Express
ipv4 Forwarding is offWe need to change it to 1
Carry out orders echo 1 > /proc/sys/net/ipv4/ip_forward

So we'll
Open the ipv4 forward
Navicat Reconnection

OK, That's it , I don't know what caused ipv4 forward Shut down the
Probable cause :
After restarting the server, it was restored
Some processes may have modified the system settings
We put ipv4 Just open forwarding , because To deploy a container in the server, you need to open it ip Forwarding function , Generally, we don't need to deal with it by ourselves , I don't know why I met , We can solve the problem by opening it .
Copyright notice :
Original Blogger : Cowherd Conan
Blogger original link :https://keafmd.blog.csdn.net/
Personal blog links :https://www.keafmd.top/
If it helps you , Thank you for clicking on the like support below !
[ ha-ha ][ Huai Quan ]
come on. !
Joint efforts !
Keafmd
边栏推荐
- 16. [stm32] starting from the principle, I will show you the DS18B20 temperature sensor - four digit digital tube displays the temperature
- list集合根据对象某属性求和,最大值等
- Memo 00
- Research and practice of super-resolution technology in the field of real-time audio and video
- Defining strict standards, Intel Evo 3.0 is accelerating the upgrading of the PC industry
- ES6深入—async 函数 与 Symbol 类型
- 后台系统发送验证码功能
- 一键安装脚本实现快速部署GrayLog Server 4.2.10单机版
- 【毕业季】作为一名大二计科在校生,我有话想说
- Data communication foundation - Ethernet port mirroring and link aggregation
猜你喜欢

obj集合转为实体集合
![16.[STM32]从原理开始带你了解DS18B20温度传感器-四位数码管显示温度](/img/9f/c91904b6b1d3a1e85c0b50e43972e5.jpg)
16.[STM32]从原理开始带你了解DS18B20温度传感器-四位数码管显示温度

Arduino控制微小的六足3D打印机器人

list去重并统计个数

RepLKNet:不是大卷积不好,而是卷积不够大,31x31卷积了解一下 | CVPR 2022

CODING DevSecOps 助力金融企业跑出数字加速度

Defining strict standards, Intel Evo 3.0 is accelerating the upgrading of the PC industry

Analytic hierarchy process of mathematical modeling (including Matlab code)

Five common negotiation strategies of consulting companies and how to safeguard their own interests

Data communication foundation - dynamic routing protocol rip
随机推荐
Which keywords will conflict with the abstract keyword
超分辨率技术在实时音视频领域的研究与实践
Transaction rollback exception
机械臂速成小指南(九):正运动学分析
Go language programming specification combing summary
The difference between abstract classes and interfaces
《MongoDB入门教程》第04篇 MongoDB客户端
I'm fat, huh
Clock switching with multiple relationship
Dataarts studio data architecture - Introduction to data standards
Appium automation test foundation - appium basic operation API (II)
obj解析为集合
践行自主可控3.0,真正开创中国人自己的开源事业
Summary of the second lesson
[graduation season] as a sophomore majoring in planning, I have something to say
Information collection of penetration test
The computer is busy, and the update is a little slow
单商户 V4.4,初心未变,实力依旧!
20.[STM32]利用超声波模块和舵机实现智能垃圾桶功能
abstract关键字和哪些关键字会发生冲突呢