# tauri-app-localhost > Guidance for Tauri v2 localhost plugin with local service access and minimal exposure. - Author: wandl-6A72h - Repository: partme-ai/tauri-skills - Version: 20260206195346 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/partme-ai/tauri-skills - Web: https://mule.run/skillshub/@@partme-ai/tauri-skills~tauri-app-localhost:20260206195346 --- --- name: tauri-app-localhost description: Guidance for Tauri v2 localhost plugin with local service access and minimal exposure. license: Complete terms in LICENSE.txt --- ## When to use this skill **ALWAYS use this skill when the user mentions:** - Accessing localhost services from the app / 应用访问本地服务 - Local server exposure and safety / 本地服务暴露与安全 - Dev vs production localhost behavior / 开发与生产本地行为 **Trigger phrases include:** - "localhost", "local service", "dev server", "ports" - "本地服务", "localhost", "端口", "开发服务器" ## How to use this skill 1. Identify local services and their access requirements 2. Configure localhost plugin capabilities and allowed ports 3. Separate dev-mode access from production constraints 4. Validate minimal exposure and audit access patterns ## Outputs - Localhost access policy / 本地服务访问策略 - Dev/prod separation checklist / 开发生产分离清单 ## Scope - Boundary: Localhost plugin usage only - Key points: Controlled access and environment separation ## References - https://v2.tauri.app/plugin/localhost/ - https://v2.tauri.app/zh-cn/plugin/localhost/ ## Keywords tauri localhost, local service, dev server, security