Expose port and run magpie