ports and tag is sent from the UI