added open port check