Added port selection and ип-addresses