Add ip and port check