diff --git a/rpc-pool.go b/rpc-pool.go index 2d54c0a..2f0e49b 100644 --- a/rpc-pool.go +++ b/rpc-pool.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "strings" "sync" ) @@ -28,7 +29,7 @@ type RemoteGrain struct { } func NewRemoteGrain(id CartId, address string) (*RemoteGrain, error) { - client, err := CartDial(address) + client, err := CartDial(fmt.Sprintf("%s:1337", address)) if err != nil { return nil, err }