I have the same issue on a clean install of 24.04.1. From ubuntu-24.04-live-server-amd64.iso I chose "Ubuntu Server (minimized)" and "Install OpenSSH server".
$ sudo apt update && sudo apt upgrade -y && shutdown -r now ... $ lsb_release -d No LSB modules are available Description: Ubuntu 24.04.1 LTS $ sudo apt install net-tools iputils-ping ... $ netstat -an | grep '^tcp.*LISTEN' tcp 0 0 127.0.0.54:53 0.0.0.0:* LISTEN tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=3.62ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=3.09ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=3.36ms ^C $ sysctl net.ipv6.bindv6only net.ipv6.bindv6only = 0 (This is inside VirtualBox. Pinging the ubuntu IP4 address from the Windows also host works.) Creating /etc/systemd/system/ssh.socket.d/bindipv6only-both.conf as suggested above does not fix the issue. $ sudo systemctl disable --now ssh.socket $ sudo systemctl daemon-reload $ sudo systemctl enable --now ssh.service does fix the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080216 Title: sshd cannot bind to IPv4 interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2080216/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs