cope with default ports