Set proper port