Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

play - "Listening for HTTP on /0:0:0:0:0:0:0:0%0:9000"

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.

like image 666
dstronczak Avatar asked May 14 '13 18:05

dstronczak


2 Answers

That is the IPv6 unspecified address which means listen on all addresses, including the localhost address.

like image 57
James Ward Avatar answered Nov 04 '22 18:11

James Ward


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

like image 1
Esterlinkof Avatar answered Nov 04 '22 17:11

Esterlinkof