On Sun, Mar 11, 2018 at 10:10 PM, Chokchai Phatharamalai
<juaco...@gmail.com> wrote:
>
> Repro steps:
> 1. visit https://golang.org/pkg/crypto/tls/#example_Dial
> 2. press Run
>
> observed:
>
> panic: failed to connect: dial tcp: Protocol not available

The sandbox used to execute examples hosted on golang.org does not
permit outgoing network connections.  The example should work if you
copy it and run it on your own system, but it won't worked hosted at
golang.org.

Ian

-- 
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.

Reply via email to