Skip to content

Commit

Permalink
change port to 3035
Browse files Browse the repository at this point in the history
  • Loading branch information
PaluMacil committed Feb 27, 2018
1 parent dae558f commit ef1cbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ func main() {
}
})
srv := &http.Server{
Addr: ":3033",
Addr: ":3035",
Handler: mux,
//time from when the connection is accepted to when the request body is fully read
ReadTimeout: 5 * time.Second,
//time from the end of the request header read to the end of the response write
WriteTimeout: 10 * time.Second,
}
log.Println("Now serving on port 3033")
log.Println("Now serving on port 3035")
log.Println(srv.ListenAndServe())
}

Expand Down

0 comments on commit ef1cbbc

Please sign in to comment.