Commit 5b981137 authored by Juan Benet's avatar Juan Benet

Merge pull request #1749 from mjanczyk/master

Fix #1661 IPFS crashes on windows after first run
parents 7ba85c6e 20908b30
......@@ -668,5 +668,6 @@ func apiClientForAddr(addr ma.Multiaddr) (cmdsHttp.Client, error) {
}
func isConnRefused(err error) bool {
return strings.Contains(err.Error(), "connection refused")
return strings.Contains(err.Error(), "connection refused") ||
strings.Contains(err.Error(), "target machine actively refused it")
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment