add default port and suppess warnings