M
M
ML2017-01-28 16:28:32
go
ML, 2017-01-28 16:28:32

Why is the firewall constantly asking for http permission for GO?

47d4045c0de0481dbeaf8dcd17288a7d.png3d706e7c33f0406789e694829953a614.png
The question is why does this happen all the time when running the code from the console?

cd C:\project\go
>go run hello.go

package main;

import (
"net/http"
"fmt"
)

func requestHandler(w http.ResponseWriter, r *http.Request) {
  fmt.Fprintf(w, "Hello, world")
}

func main(){
  http.HandleFunc("/", requestHandler)
  http.ListenAndServe(":6060", nil)
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2017-01-28
@staffID

https://github.com/golang/go/issues/13479
You have to be able to search, it's easy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question