simplified port configuration to numports and startport instead of startport and endport
server now gets ip_address and port from incoming message