Please use #{peer} instead of #{datastore['RHOST']}:#{datastore['RPORT']}