Actions65
- Auth Actions
- License Actions
- Monitor Actions
- Project Actions
- Service Actions
- Create
- Create from Template
- Create from Schema
- Delete
- Deploy
- Disable
- Enable
- Expose Service
- Get
- Get Logs
- Get Stats
- Refresh Deploy Token
- Restart
- Update Backup
- Update Basic Auth
- Update Build
- Update Deploy
- Update Domains
- Update Environment
- Update Health Check
- Update Mounts
- Update Ports
- Update Redirects
- Update Resources
- Update Source - Docker Image
- Update Source - Git
- Update Source - GitHub
- Settings Actions
- Change Credentials
- Get GitHub Token
- Get Let's Encrypt Email
- Get Panel Domain
- Get Server IP
- Get Status
- Get Traefik Custom Config
- Prune Docker Builder
- Prune Docker Images
- Refresh Server IP
- Restart Easypanel
- Restart Traefik
- Set Docker Prune Daily
- Set GitHub Token
- Set Let's Encrypt Email
- Set Panel Domain
- Update Traefik Custom Config
- Template Actions
- User Actions
Service → Update Ports
AI-generatedSummary
Updates the ports configured for an Easypanel service by sending the selected service type, project, service, and port mappings to the Easypanel API.
Inputs
- Service Type — Service category: App (default), MariaDB, MongoDB, MySQL, PostgreSQL, or Redis; selects the API endpoint.
- Project Name (required) — Name of the project containing the service.
- Service Name (required) — Name of the existing service to update.
- Ports — Add any number of port mappings. Each has a protocol (TCP by default, or UDP), a published port (default 80), and a target port (default 80). If no ports are added, an empty ports array is sent.
Output shape
One n8n item per input item, with JSON containing the Easypanel API response data.
The operation sends the mappings as a POST request to the service-type-specific updatePorts endpoint. API or request errors are raised unless Continue On Fail is enabled, in which case the item contains error details.