Skip to content

Commit

Permalink
listen on not localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehobbs committed Jan 19, 2024
1 parent 73c3069 commit 4ab8251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func main() {
go worker()

fmt.Printf("Listening on port %v\n", config.Port)
http.ListenAndServe("localhost:"+config.Port, r)
http.ListenAndServe(":"+config.Port, r)
}

func worker() {
Expand Down

0 comments on commit 4ab8251

Please sign in to comment.