Skip to content

Commit

Permalink
127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Aug 22, 2015
1 parent 031a5bb commit 594ad9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func main() {
if err != nil {
panic(err)
}
url := fmt.Sprintf("http://%s", l.Addr())
url := fmt.Sprintf("http://127.0.0.1:%d", l.Addr().(*net.TCPAddr).Port)
open.Run(url)
fmt.Println(url)

Expand Down

0 comments on commit 594ad9a

Please sign in to comment.