Why kind of address Listening for HTTP on /0:0:0:0:0:0:0:0%0:9000
is? Is it the expected output? Shouldn't it be something like localhost
printed instead? Except this weird console output everythign works fine. I am running play framework 2.1.1 on OsX.
2 Answers
That is the IPv6 unspecified address which means listen on all addresses, including the localhost address.
-
5Nope, it's the unspecified address, meaning that Play binds to all adresses. IPv6 loopback address (i.e.
localhost
) is::1
.– CarstenMay 15, 2013 at 13:05
0:0:0:0:0:0:0:0%0 in ipv6 is something like localhost in ipv4 (exact localhost address in ipv6 is ::1 )
you can see the result of your Play app by viewing localhost:9000 in your browser
-
1That's wrong. It really means all addresses, on all network interfaces.– cbleySep 23, 2015 at 14:38
-
@cbley you right bro. but I just want to show where they can find their app result without any technical word. Sep 25, 2015 at 6:39
play new my_proj
localhost:9000
.