resultPort is a string, use %s instead of %d