expose port and command