port and auth not nessaray, add check functions