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

it opens port 8080 to ipv6 only #27

Open
Barabba11 opened this issue Dec 3, 2022 · 1 comment
Open

it opens port 8080 to ipv6 only #27

Barabba11 opened this issue Dec 3, 2022 · 1 comment

Comments

@Barabba11
Copy link

Barabba11 commented Dec 3, 2022

Hi, how can I get rid completely of IPv6? it's useless for me and makes me crazy, unfortunately also your program what to deal only with that.
root@orangepizero:~/cyp# node .
no passwords.json found
1670083525741 ws2mpd attached to a http server { address: '::', family: 'IPv6', port: 8080 }

On /etc/sysctl.conf are already preset these lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

I rebooted, I don't know how can I kill it
I've an orangepi with latest armbian. Thank you

@ondras
Copy link
Owner

ondras commented Dec 3, 2022

There is nothing IPv6-specific in CYP; the listening process is using the server.listen Node.js API with one argument. This means :: when IPv6 is available (which includes and allows IPv4 connections as well) and 0.0.0.0 when IPv6 is disabled.

I am no IPv6 guru, but judging from your log output, Node.js thinks that IPv6 is not disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants