当前位置:网站首页>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
边栏推荐
- CSDN I'm coming
- Data communication foundation - routing communication between VLANs
- Appium automation test foundation - appium basic operation API (II)
- 一文搞定vscode编写go程序
- Modify PyUnit_ Time makes it support the time text of 'xx~xx months'
- Detailed explanation of C language branch statements
- Analytic hierarchy process of mathematical modeling (including Matlab code)
- Exception com alibaba. fastjson. JSONException: not match : - =
- Use of RLOCK lock
- go语言编程规范梳理总结
猜你喜欢
Convert obj set to entity set
Research and practice of super-resolution technology in the field of real-time audio and video
19.[STM32]HC_SR04超声波测距_定时器方式(OLED显示)
Use of set tag in SQL
研发效能度量指标构成及效能度量方法论
Data communication foundation - routing communication between VLANs
效果编辑器新版上线!3D渲染、加标注、设置动画,这次一个编辑器就够了
具有倍数关系的时钟切换
21.[STM32]I2C协议弄不懂,深挖时序图带你编写底层驱动
抽象类和接口的区别
随机推荐
Mistakes made when writing unit tests
一键安装脚本实现快速部署GrayLog Server 4.2.10单机版
18.[STM32]读取DS18B20温度传感器的ROM并实现多点测量温度
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
RepLKNet:不是大卷积不好,而是卷积不够大,31x31卷积了解一下 | CVPR 2022
Appium automation test foundation - appium basic operation API (II)
Six common transaction solutions, you sing, I come on stage (no best, only better)
Basic JSON operations of MySQL 5.7
vant popup+其他组件的组合使用,及避坑指南
abstract关键字和哪些关键字会发生冲突呢
程序员如何提升自己的格局?
This article takes you through the addition, deletion, modification and query of JS processing tree structure data
ES6深入—ES6 Generator 函数
Clock switching with multiple relationship
ES6深入—ES6 Class 类
我们为什么要学习数学建模?
对象和类的关系
企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
obj解析为集合
Which keywords will conflict with the abstract keyword