Easypanel icon

Easypanel

Interact with Easypanel API to manage projects, services, users, monitors and settings

Service → Update Ports

AI-generated

Summary

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.

Links

Discussion