Fix delete pages
Accept ip/port as args