当前位置:网站首页>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 off
We 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
边栏推荐
- The difference between abstract classes and interfaces
- 一键安装脚本实现快速部署GrayLog Server 4.2.10单机版
- Batch update in the project
- 【简记】解决IDE golang 代码飘红报错
- vlunhub- BoredHackerBlog Social Network
- Intelligent metal detector based on openharmony
- DataArts Studio数据架构——数据标准介绍
- list集合根据对象某属性求和,最大值等
- Five common negotiation strategies of consulting companies and how to safeguard their own interests
- Appium automation test foundation - appium basic operation API (I)
猜你喜欢
abstract关键字和哪些关键字会发生冲突呢
通过的英特尔Evo 3.0整机认证到底有多难?忆联科技告诉你
CISP-PTE之PHP伪协议总结
Batch update in the project
项目中批量update
后台系统发送验证码功能
Detailed explanation of C language branch statements
21. [STM32] I don't understand the I2C protocol. Dig deep into the sequence diagram to help you write the underlying driver
Cs231n notes (top) - applicable to 0 Foundation
Data communication foundation smart_ Link_&_ Monitor_ Link
随机推荐
【簡記】解决IDE golang 代碼飄紅報錯
RLock锁的使用
Appium automation test foundation - appium basic operation API (II)
Summary of the third class
verilog实现计算最大公约数和最小公倍数
vulnhub-FirstBlood
践行自主可控3.0,真正开创中国人自己的开源事业
漫画:什么是八皇后问题?
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
漫画:什么是分布式事务?
Background system sending verification code function
Example project: simple hexapod Walker
程序员如何提升自己的格局?
五种常见的咨询公司谈判策略以及如何维护自己的利益
Data communication foundation ACL access control list
Summary of the second lesson
20.[STM32]利用超声波模块和舵机实现智能垃圾桶功能
【 note 】 résoudre l'erreur de code IDE golang
Noi / 1.3 01: a+b problem
Data communication foundation - Ethernet port mirroring and link aggregation