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

Subspace webUI not listening on IPv4 address #219

Open
Dvorf opened this issue Mar 20, 2022 · 2 comments
Open

Subspace webUI not listening on IPv4 address #219

Dvorf opened this issue Mar 20, 2022 · 2 comments

Comments

@Dvorf
Copy link

Dvorf commented Mar 20, 2022

Hi,
Will appreciate if anybody will help me with Subspace not listening on IPv4 address issue

root@WireGuard:~# netstat -lnp
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:53 0.0.0.0:* LISTEN 10688/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 580/sshd: /usr/sbin
tcp6 0 0 :::80 :::* LISTEN 10686/subspace
tcp6 0 0 :::53 :::* LISTEN 10688/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 580/sshd: /usr/sbin
tcp6 0 0 :::443 :::* LISTEN 10686/subspace
udp 0 0 0.0.0.0:53 0.0.0.0:* 10688/dnsmasq
udp 0 0 65.108.93.57:68 0.0.0.0:* 490/systemd-network
udp 0 0 0.0.0.0:51820 0.0.0.0:* -
udp6 0 0 :::53 :::* 10688/dnsmasq
udp6 0 0 :::51820 :::* -
raw6 0 0 :::58 :::* 7 490/systemd-network
Active UNIX domain sockets (only servers)

So WG is listening on both IPv4 and IPv6, while Subspace itself only waiting for connection on IPv6 address.
Does anybody know ho to fix this?

@metalcated
Copy link

This in docker or direct on a Linux box?

@creatoni4
Copy link

I have same issue.....
seems like if ipv6 binds first ip4 will be ignored....
so I add my local IP address (IPv4) to docker-compose.yaml:

  • SUBSPACE_HTTP_ADDR=IPv4_your_address:80 instead - SUBSPACE_HTTP_ADDR=":80"

that helped me....

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

3 participants