当前位置:网站首页>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
边栏推荐
- Value series solution report
- Cs231n notes (top) - applicable to 0 Foundation
- 19.[STM32]HC_SR04超声波测距_定时器方式(OLED显示)
- Data communication foundation - dynamic routing protocol rip
- Lesson 4 knowledge summary
- wyt 。。
- 企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
- Appium自动化测试基础 — APPium基础操作API(一)
- Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
- Data communication foundation ACL access control list
猜你喜欢

Why should we learn mathematical modeling?
![18.[stm32] read the ROM of DS18B20 temperature sensor and realize multi-point temperature measurement](/img/e7/4f682814ae899917c8ee981c05edb8.jpg)
18.[stm32] read the ROM of DS18B20 temperature sensor and realize multi-point temperature measurement

五种常见的咨询公司谈判策略以及如何维护自己的利益

示例项目:简单的六足步行者

研发效能度量指标构成及效能度量方法论

Replknet: it's not that large convolution is bad, but that convolution is not large enough. 31x31 convolution. Let's have a look at | CVPR 2022

Summary of the third class

Data communication foundation - routing communication between VLANs

【简记】解决IDE golang 代码飘红报错

【簡記】解决IDE golang 代碼飄紅報錯
随机推荐
Appium automation test foundation - appium basic operation API (II)
Cs231n notes (medium) -- applicable to 0 Foundation
Modify PyUnit_ Time makes it support the time text of 'xx~xx months'
ES6 deep - ES6 class class
The difference between abstract classes and interfaces
超分辨率技术在实时音视频领域的研究与实践
SQL injection sqllabs (basic challenges) 11-20
漫画:什么是八皇后问题?
Noi / 1.5 06: element maximum span value of integer sequence
Which keywords will conflict with the abstract keyword
Coding devsecops helps financial enterprises run out of digital acceleration
程序员如何提升自己的格局?
obj解析为集合
抽象类和接口的区别
漫画:什么是分布式事务?
视觉体验全面升级,豪威集团与英特尔Evo 3.0共同加速PC产业变革
Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
vlunhub- BoredHackerBlog Social Network
开发中Boolean类型使用遇到的坑
Advanced level of static and extern