diff --git a/main.go b/main.go index da7176b..33588f2 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ func main() { log.Fatal(`Failed to load template. (` + err.Error() + `)`) } - log.Fatal(http.ListenAndServe(":"+strconv.Itoa(config.Port), http.HandlerFunc(serveRequest))) + log.Fatal(http.ListenAndServe("127.0.0.1:"+strconv.Itoa(config.Port), http.HandlerFunc(serveRequest))) } var config struct {