checking applications are on their respective ports, in lez.rb, not working yet