当前位置:网站首页>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
边栏推荐
- [graduation season] as a sophomore majoring in planning, I have something to say
- 利用GrayLog告警功能实现钉钉群机器人定时工作提醒
- abstract关键字和哪些关键字会发生冲突呢
- Basic JSON operations of MySQL 5.7
- wyt 。。
- Defining strict standards, Intel Evo 3.0 is accelerating the upgrading of the PC industry
- obj集合转为实体集合
- Fundamentals of data communication - Principles of IP routing
- 17. [stm32] use only three wires to drive LCD1602 LCD
- verilog实现计算最大公约数和最小公倍数
猜你喜欢
Which keywords will conflict with the abstract keyword
Data communication foundation OSPF Foundation
21.[STM32]I2C协议弄不懂,深挖时序图带你编写底层驱动
Li Kou today's question -729 My schedule I
写单元测试的时候犯的错
Research and practice of super-resolution technology in the field of real-time audio and video
Arduino控制微小的六足3D打印机器人
Data communication foundation - Ethernet port mirroring and link aggregation
Data communication foundation NAT network address translation
18.[stm32] read the ROM of DS18B20 temperature sensor and realize multi-point temperature measurement
随机推荐
Research and practice of super-resolution technology in the field of real-time audio and video
Mistakes made when writing unit tests
五种常见的咨询公司谈判策略以及如何维护自己的利益
Summary of the second lesson
17.[STM32]仅用三根线带你驱动LCD1602液晶
10分钟帮你搞定Zabbix监控平台告警推送到钉钉群
Li Kou today's question -729 My schedule I
MySQL overview
助力数字经济发展,夯实数字人才底座—数字人才大赛在昆成功举办
16.[STM32]从原理开始带你了解DS18B20温度传感器-四位数码管显示温度
Data communication foundation - dynamic routing protocol rip
Go language programming specification combing summary
Codasip adds verify safe startup function to risc-v processor series
【简记】解决IDE golang 代码飘红报错
D-snow halo solution
Is it safe for Guotai Junan to open an account online
20.[STM32]利用超声波模块和舵机实现智能垃圾桶功能
Parameter type setting error during batch update in project SQL
企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
Appium automation test foundation - appium basic operation API (I)