Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

默认监听ipv6 #918

Open
DefectingCat opened this issue Oct 17, 2019 · 1 comment

Comments

@DefectingCat
Copy link

@DefectingCat DefectingCat commented Oct 17, 2019

安装完成后数据库链接都正常,但是web死活都没办法访问。检查配置文件的配置,监听地址,端口号都是正常的:

http.addr=0.0.0.0 # listen on all ip addresses
http.port=8070

site.url=http://0.0.0.0:8070/ # or http://x.com:8080, http://www.xx.com:9000

但是web就是打不开,在别的的机器上测试telnet发现压根就没有监听8070端口。最后发现它监听的是ipv6的地址?

机器没有ipv6公网地址,端口也没有被占用

要修改什么地方才能使其监听ipv4呢

@DefectingCat

This comment has been minimized.

Copy link
Author

@DefectingCat DefectingCat commented Oct 17, 2019

system info

CentOS Linux release 7.7.1908 (Core)
Linux ecs.novalocal 5.3.6-1.el7.elrepo.x86_64 #1 SMP Fri Oct 11 17:24:39 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.