How many port and IP used by TMS