Skip to content
Snippets Groups Projects
Commit a3615226 authored by jotangen's avatar jotangen
Browse files

added 0.0.0.0 to listenAndServe

parent 9243d923
Branches
No related tags found
No related merge requests found
......@@ -107,5 +107,5 @@ func main() {
//LiAnSe listens on TCP net addr, calls serve with handler (nil)
// -to handle req on incoming connections, if accept it keeps TCP alive
log.Fatal(http.ListenAndServe(":"+port, nil))
log.Fatal(http.ListenAndServe("0.0.0.0:"+port, nil))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment