Setting the listen address to :: puts flask into ipv6 mode. This makes it compatible with ipv6 and, thanks to the system automatically translating ipv4 into ipv6, it is completely compatible with ipv4 as well.