当前位置:网站首页>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
边栏推荐
- Noi / 1.4 07: collect bottle caps to win awards
- Coding devsecops helps financial enterprises run out of digital acceleration
- Transaction rollback exception
- Cs231n notes (top) - applicable to 0 Foundation
- 漫画:什么是服务熔断?
- 示例项目:简单的六足步行者
- 记一次'非常诡异'的云安全组规则问题排查过程
- The visual experience has been comprehensively upgraded, and Howell group and Intel Evo 3.0 have jointly accelerated the reform of the PC industry
- vant popup+其他组件的组合使用,及避坑指南
- [Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
猜你喜欢

List de duplication and count the number

obj集合转为实体集合

开发中Boolean类型使用遇到的坑

Use of set tag in SQL

ES6深入—async 函数 与 Symbol 类型

abstract关键字和哪些关键字会发生冲突呢

Data communication foundation - Ethernet port mirroring and link aggregation
![[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video](/img/69/3aedcdafb2b4e83087dc1ce593dc38.png)
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video

Lesson 4 knowledge summary
![[brief notes] solve the problem of IDE golang code red and error reporting](/img/b6/0b2ea06eb5fbe651ff9247b109fa15.png)
[brief notes] solve the problem of IDE golang code red and error reporting
随机推荐
Query the latest record in SQL
五种常见的咨询公司谈判策略以及如何维护自己的利益
sql中查询最近一条记录
This article takes you through the addition, deletion, modification and query of JS processing tree structure data
Boost the development of digital economy and consolidate the base of digital talents - the digital talent competition was successfully held in Kunming
Value series solution report
对象和类的关系
DataArts Studio数据架构——数据标准介绍
Codasip为RISC-V处理器系列增加Veridify安全启动功能
Codasip adds verify safe startup function to risc-v processor series
抽象类和接口的区别
Transaction rollback exception
Data communication foundation - Ethernet port mirroring and link aggregation
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
Five common negotiation strategies of consulting companies and how to safeguard their own interests
ES6深入—ES6 Class 类
Noi / 1.4 07: collect bottle caps to win awards
CISP-PTE之SQL注入(二次注入的应用)
【毕业季】作为一名大二计科在校生,我有话想说
Background system sending verification code function