Added the onport command for port checking