try to set port