Curse. I sprinkle ashes upon my head. That was a stupid mistake. Yeah, 127.0.0.1 works fine. Thank you
четверг, 22 сентября 2016 г., 22:29:15 UTC+3 пользователь bradfitz написал: > > Use 127.0.0.1, not 127.0.0.0 > > The playground's net implementation is a toy and not very accurate. > > > On Thu, Sep 22, 2016 at 10:41 AM, 'Константин Иванов' via golang-nuts < > golan...@googlegroups.com <javascript:>> wrote: > >> Related to net package. >> >> Code works fine on playground: https://play.golang.org/p/1fCIZzaUIT >> >> But on local machine I've got (every time) >> >> 2016/09/22 20:37:30 listening on: 127.0.0.0:44327 >> 2016/09/22 20:37:30 dialing >> 2016/09/22 20:37:30 dial error: dial tcp 127.0.0.0:44327: connect: >> network is unreachable >> >> go version >> >> go version go1.7.1 linux/amd64 >> >> What could it mean? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.