use server and port from args