opening up rest port