open port first