fix - with multiple servers and multiple ports