Update:fix port/validate IP