Update README.md (#2106)
* Update README.md c:\>curl 0.0.0.0:8080 "Failed to connect to 0.0.0.0 port 8080: Address not available" Connecting to address 0.0.0.0:8080 is not allowed on windows. From http://msdn.microsoft.com/en-us/library/aa923167.aspx " ... If the address member of the structure specified by the name parameter is all zeroes, connect will return the error WSAEADDRNOTAVAIL. ..." * Update README.md edit comment
This commit is contained in:
		@ -145,12 +145,12 @@ func main() {
 | 
			
		||||
			"message": "pong",
 | 
			
		||||
		})
 | 
			
		||||
	})
 | 
			
		||||
	r.Run() // listen and serve on 0.0.0.0:8080
 | 
			
		||||
	r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
# run example.go and visit 0.0.0.0:8080/ping on browser
 | 
			
		||||
# run example.go and visit 0.0.0.0:8080/ping (for windows "localhost:8080/ping") on browser
 | 
			
		||||
$ go run example.go
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user