local rest server