Answer the question
In order to leave comments, you need to log in
Why is the firewall constantly asking for http permission for GO?
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question