as a precaution please check that server.tcpports is not nil