Firewall: list open ports
List the inbound firewall rules (open ports) for the current app. Check what is reachable from outside before opening or closing ports.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
agent_firewall_closeuserClose inbound TCP port(s) on the current app's firewall. Acts only on the current app.
agent_firewall_openuserOpen inbound TCP port(s) on the current app's firewall so the service becomes reachable from outside. Use when a service is up locally but times out from outside. Acts only on the current app.
get_app_firewalladminReturns the app's current firewall rules: the live rules of a hosted virtual server, the cloud firewall attached to the app, or, when neither exists yet, a default ruleset that allows outbound traffic and no inbound traffic.
agent_domain_connectuserPoint one of the account's own domains (from agent_domain_list) at THIS project's VPS via DNS. Optional subdomain (e.g. 'app' -> app.example.com); omit to use the apex. Prefer a subdomain unless the user explicitly wants the apex. Attaching replaces any existing record on that exact hostname.
agent_domain_listuserList the account's registered domains (name, status, which app each is attached to). Use this BEFORE asking the user to type a domain: if they say 'connect one of my domains', call this and present the options.
archive_ai_agentuserArchives AI agent.
2 of 61 in Applications