Listen on multiple lines for multiple ports