Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
CentOS
如何修改端口协议 tcp6 为 tcp?
MrMike
·
Jan 1, 2018
· 10002 views
This topic created in 3052 days ago, the information mentioned may be changed or developed.
环境为 centos 7 64 位,用 netstat -ntlp,查询端口:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 :::3306 :::* LISTEN -
如何将 mysql 的 tcp6 改成 tcp 呢?
0.0.0.0
TCP
tcp6
listen
4 replies
•
2018-01-01 22:23:04 +08:00
1
yexm0
Jan 1, 2018
禁掉 ipv6 的监听不就行了
2
MrMike
OP
Jan 1, 2018
@
yexm0
已经禁掉了,之前 80 端口也是 tcp6,禁掉重启后,80 端口好了,3306 还是没变。
3
eslizn
Jan 1, 2018
bind-address 不行吗?
4
MrMike
OP
Jan 1, 2018
@
eslizn
如何操作?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2842 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 40ms ·
UTC 15:34
·
PVG 23:34
·
LAX 08:34
·
JFK 11:34
♥ Do have faith in what you're doing.
❯