test trap localhost