set port offset